Page 72 - CG_v2.1_flipBooks_class_5
P. 72

The line appears on the stage.


                  To view the line in full screen, click on Full Screen Control button               on the top right
                  corner of the stage.

                                                                 Notes

                                    To come out of the Full Screen Control mode, Click on the Full
                                              Screen Control button       or press Esc key





                  Drawing Polygons in Scratch

                  Polygons are 2D shapes with three or more straight lines and angles. Examples of polygons
                  are triangle, square, rectangle, quadrilateral, pentagon, octagon, etc.








                                   Equilateral          Square           Pentagon           Hexagon
                                Triangle (3 sides)     (4 sides)          (5 sides)          (6 sides)









                                   Heptagon            Octagon            Nonagon            Decagon
                                    (7 sides)          (8 sides)          (9 sides)         (10 sides)

                  To draw polygons in Scratch, you must remember a few thumb rules. These are as follows:

                      You must know the number of sides in the shape. This is the value to be given in repeat
                     block. For example, you give repeat 3 to draw a triangle and 4 to draw a square.

                      Each time a repeat command is used, you draw a line and turn at a corner.
                      You must know the degree of the angle at the corner. It is very easy to calculate this. Just
                     divide 360 by the number of sides in the shape. For example, to draw a triangle, the turn
                     will be 360/3 (sides of the triangle) = 120.

                  Look at these polygons that 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




                       70    Computer Genius (V2.1)-V
   67   68   69   70   71   72   73   74   75   76   77