Page 52 - ModularV1.1 _c5_flipbook
P. 52

Look how these polygons can be made using Repeat.



                                  Polygon                                  Command

                            Triangle                  Repeat 3 Move 100 Steps Turn 120 degrees


                            Square                    Repeat 4 Move 100 Steps Turn 90 degrees


                            Pentagon                  Repeat 5 Move 100 Steps Turn 72 degrees


                            Hexagon                   Repeat 6 Move 100 Steps Turn 60 degrees


                            Heptagon                  Repeat 7 Move 100 Steps Turn 51 degrees


                            Octagon                   Repeat 8 Move 100 Steps Turn 45 degrees


                            Nonagon                   Repeat 9 Move 100 Steps Turn 40 degrees


                            Decagon                   Repeat 10 Move 100 Steps Turn 36 degrees




                   Tech


                      Funda

                                       Use the Hide block to hide the Sprite after drawing the shape.




                      DRAWING A CIRCLE AND SEMICIRCLE


                  By using the REPEAT command, we can also draw circles and semicircles. A full
                  circle is drawn with 360° and a semicircle with 180°.
























                  50      Modular (Ver. 1.1)-V
   47   48   49   50   51   52   53   54   55   56   57