logo-lang

Draw a snowflake with Frozen on Code.org


I'm trying to solve this problem which asks to make a snowflake, so far I tried using forward by 100 pixels and right by 90 degrees but I only made it do a shape in the left bottom corner, then I did a square and it said I messed up...

Could somebody give a hint on what I should do?

Here's a screenshot of the problem with my solution so far :

The problem with my solution so far

PS: this is my dad's account.


Solution

  • You need to draw 4 parallelograms and each parallelogram is constructed by 4 lines.
    The code below draws two line twice (= 4 lines) then rotates 90 degrees and repeats all this 4 times.

    Snowflake