Page 95 - TP_Plus_v4_Class4
P. 95

stamp  block creates a duplicate of the current sprite. To see that image,
                    click on the sprite and drag.

                        pen up  block puts the pen up and stops the sprite from drawing anything.

                    The sprite draws a non-stop line wherever sprite moves until the pen is

                    turned off using       pen down .

                        set pen color to    block sets the colour of the pen to a colour of your
                    choice from the drop-down menu.

                        Change pen color   by 10   block  changes  the  pen  colour,  saturation,
                    brightness and transparency. Click on the dropdown to
                    select the pen effects. Click on the text box to give a

                    value by which you want to change the effect.
                        set pen color  to  50  block will  set the pen colour,

                   saturation, brightness and transparency to the given value.
                 To view the line in full screen, click on Full Screen Control

                 button       on the top right corner of the stage.

                      DRAWING POLYGONS IN SCRATCH


                 Polygons are closed 2D shapes with three or more straight lines and angles. Examples of

                 polygons are triangle, square, rectangle, quadrilateral, pentagon, octagon, etc.
                 To draw polygons in Scratch, you must remember a few thumb rules. They are:

                    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 Repeat 4 to draw a square.
                    Degree of the angle at the corner

                    It is very easy to calculate the angle for a polygon. Just divide 360 by the number of sides in the
                   shape. For example, to draw a triangle, the turn angle will be 360/3 (sides of the triangle) = 120.

                 Look at these polygons that can be made using Repeat.

                            Polygon       Turn Angle                          Command

                          Triangle       360/3=120      Repeat 3   Move 100 Steps   Turn 120 degrees
                          (3 Sides)

                          Square         360/4=90       Repeat 4   Move 100 Steps   Turn 90 degrees
                          (4 Sides)

                          Pentagon        360/5=72      Repeat 5   Move 100 Steps   Turn 72 degrees
                          (5 Sides)




                                                                                          #Creating Shapes in Scratch  93
   90   91   92   93   94   95   96   97   98   99   100