Home / Expert Answers / Computer Science / assignment-requirements-a-unique-2d-fractal-that-approximates-your-assigned-image-an-exact-ma-pa974

(Solved): Assignment requirements: A unique 2d fractal that approximates your assigned image. An exact ma ...



Assignment requirements: A unique 2d fractal that approximates your assigned image. An exact match is, of course, not required. The goal is to write code that generates a pattern that's similar to the assigned image. If your image has multiple plants, then your assignment should have them too. 3d graphics are not required. The goal is to create a 2d fractal that simulates the image. This can be done using the polygon scale, translate, and rotate functions that we've covered so far. Although these are pictures of three dimensional plants, the goal is to create a two-dimensional pattern that matches the image. Minimum 50000 polygons That may sound like a lot, but it's very easy to do. You want to avoid creating an image with hundreds of millions of polygons. You will need to calculate your image 600 times for the last assignment, so you want an image that you can generate in a reasonable amount of time. Largest polygon at least 1 unit across This refers to the numbers you use to create a polygon. For example, a triangle containing the points -5,-5 and 5,5 and 5,-5 is ten units across. Smallest polygon visible and at most 1.0 E - 12 across You will need to zoom into it later. For example, if the makeImage function above is called with a depth of 35, then the input polygon will be eventually scaled by 0.5^^35, or about 3 e -11. Then the last assignment will be to create an animation that zooms into that polygon. Most actual plants don't have scaling that continues to this extreme. This is one requirement where you may have to diverge from the image that you're simulating. The goal is to recreate the pattern in the image, and also continue the pattern until you get extremely small polygons. Code that relies upon your assigned language feature Look up the documentation for your language feature, and then find a way to integrate that feature into your code. Including the feature in an unneeded function will not count as code that relies on your assigned feature. Other assignment requirements. Do not use 2htdp/image. Your fractal must be constructed from filled polygons. (not lines) Final image size 1920x1080. Can you write a code according to the instruction given in Drracket code. The final image should be just like the screenshot.



We have an Answer from Expert

View Expert Answer

Expert Answer


We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe