Snowflakes

Though this looks complicated, drawing this snowflake is really easy. First, you need to figure out what it is made up of. In the case of the above snowflake, it's the letter ‘Y’ like component. Let’s try to draw that:

Just like in the complex basic shapes - we simply need to repeat the drawing of the Y after the sprite makes a turn. Now repeat the above code block inside a loop (Repeat 6 times) with 60 degrees turn after printing each bar.

Did your sprite draw this?

Now see if you can modify your snowflake code to produce ONE of these outputs

Last updated