Scratch Projects, Feb 29, 2012, Cardinal Forest Elementary School
Lab Assignment for Spirals1: Complete this Scratch program
- Draw a spirals of squares shapes - press 's', triangles - press 't', and hexagons - press 'h'
- Steps to build this program:
- when t key pressed
- broadcast clearScreen
- set sidelength to 20
- repeat 20
- broadcast drawTriangle and wait
- change sideLength by 5
- when I receive drawTriangle
- repeat 3
- move sidelength steps
- turn 120 degrees
- when h key pressed
- broadcast clearScreen
- set sidelength to 20
- repeat 15
- broadcast drawHexagon and wait
- change sideLength by 5
- when I receive drawHexagon
- repeat 6
- move sidelength steps
- turn 60 degrees