Scratch Programming Project #10: Polygon Robot
Objectives: Students will create a Scratch program that allows the user to manipulate variables to draw polygons, circles, and other designs. Students will use math functions and variables in Scratch. Students will use Broadcast and When I Recieve to inititiate commands in program. Students will identify the need for user feedback in a computer program. Materials: (Individual or two student team) Computer access Scratch Software Paper and pencils Concepts: Variables Iteration Functions (Broadcast and When I receive) Math functions User Interface Polygon Algorithm (Turn Angle = 360 / Number of Sides in Polygon) -> a = 360 / n Troubleshooting Pen up, Pen down, Pen color Method: Programming Project: Polygon Robot. Prior Knowledge: 1. Creating scripts for direction and movement in Scratch 2. Using paint function to draw a sprite. 3. Pen up and Pen Down functions. 4. Using Broadcast and When I receive commands. Assessment:
Completion of code in Scratch. Running program in Scratch. Measured against Rubric
Polygon Robot Project: You have been hired by an Educational Software Company to create a program that will teach students about shapes. Your program will have one Sprite (The Polygon Robot) that will draw any type of shape and size the user desires. This Polygon Robot will also draw flowers and designs. Requirements:
1. Create a Sprite. 2. Write scripts that direct your sprite to draw a square, circle, triangle. 3. Create buttons that the user selects to direct the sprite to draw the shapes. 4. Create variables to allow the user to change the size of the shapes. Extras: 1. Use additional variables to allow the user to change: a. Color of pen line. b. Type of polygon. c. Length of arc in circle. 2. Write scripts to allow the robot to draw more complex shapes such as stars and flowers. 3. Use "Stop" and "Clear" buttons to allow the user to clean up the screen. 4. Use directional arrows to allow user to move robot about the screen.
Example of Advanced Polygon Robot Program