Page 80 - iPlus_Ver_2.0_class_6
P. 80
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
Quick Byte
Use the Hide block to hide the Sprite after drawing the shape.
Drawing a Circle
To draw a circle, create the given script in Scratch.
i + DRAWING PATTERNS
To draw a pattern, we use Stamp block from the Pen blocks menu. The Stamp block duplicates
Sprite’s image onto the stage.
78
iPlus (Ver. 2.0)-VI

