Page 77 - TP_Prime_v2.2_Class_5
P. 77

Step 12:  In the repeat block, click and change the number of repeats from 10 to 4.
                           Why are we doing this? We know that a square has 4 sides.

                 Step 13:  If you do not want the sprite to appear over the figure, you can end the

                           code here. But if you want to see both the shape and the sprite, snap the
                                 block at the end of the code.                                                              CREATING SHAPES IN SCRATCH



















                                                                                                                          75

                                      In Scratch, each number is equal to 1 step of the sprite on the
                         Fun
                         Fact!        stage. So, these 100 steps form one side of the square. In the turn
                                      block, change the degree from 15 to 90. Why are we changing the
                                      degree? Remember, 360/4 = 90.


                  Drawing a Circle in Scratch


                 To draw a circle, create the given script in Scratch.























                                                                                                21 st
                    Word Bank                                                                Century   #Information Literacy
                                                                                               Skills
                    Extension                  Saturation                Brightness              Transparency

                    Polygon                    Angle                     Equilateral             Degree
   72   73   74   75   76   77   78   79   80   81   82