Page 101 - PlugGPT_V2.0_C5_Flipbook
P. 101

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


                 Clickipedia



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




                                                                                       Programming in Scratch        99
   96   97   98   99   100   101   102   103   104   105   106