The fractal polygon also needs a good algorithm.
Start with a loop that draws a large equilateral triangle.
Now change it so that each side is changed to 4 lines of equal length. The middle 2 lines forming 2 sides of an equilateral triangle.
Now change it so that each side is changed to 4 lines of equal length. The middle 2 lines forming 2 sides of an equilateral triangle.
Now change it so that each side is changed to 4 lines of equal length. The middle 2 lines forming 2 sides of an equilateral triangle.
On your own #18:
Fractal Polygon
draw a snowflake fractal (see the pretty picture above)
flex your brain time (not really, that can be really bad)
Go back to the Lesson List page