Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 88 - 2607_Trackpad_Pro_5.1_flipbook_C1
P. 88

    DRAWING A SQUARE IN SCRATCH

                      To draw a square in Scratch, arrange the blocks as shown below.

                              when    clicked

                               repeat  10

                                hide

                                     pen down

                                     set pen color to
                                move 100 steps

                                turn   90  degrees

                                DRAWING A CIRCLE IN SCRATCH

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

                                                                                      The circle is the only shape
                               when    clicked
                                                                                         with a constant width.
                                    pen down

                              turn     5  degrees

                                    change pen size by  5

                                    pen down

                                    change pen  color  by 10

                              move  10  steps

                              turn     2  degrees

                                    pen down

                                    change pen size by  5

                                    change pen  color  by 10

                       86   Premium Edition-III

| 83 84 85 86 87 88 89 90 91 92 93 |