Drawing in Scratch We will be using the Scratch Environment today, so please log in to the Scratch website (scratch.mit.edu)
Today we will… Revisit the Draw feature Learn how to use the Stamp feature Build custom variables to draw geometric objects Check our understanding using Kahoot
REVISIT: THE RAINBOW
Recall that… Motion commands move a sprite on the stage Each sprite has an invisible pen that can be either up or down When the pen is down, the sprite’s motion will be drawn on the stage We can combine iteration and a drawing block to produce shapes
Think, Pair, Share What happens when this code runs? What does it look like? Try tracing it out with your finger.
Think, Pair, Share
Try it out… How does iteration change this? Can you picture it before trying? Try it out on Scratch!
The Stamp Feature Allows us to rotate more challenging shapes to produce patterns Make a new costume in the Paint Editor and use the stamp block to make multiple copies on the stage
Stamp Feature Demo
Using Variables with the Pen To build a polygonal object with some number of sides, we need to constantly change the number of repeats and the size of the change in angle.
Try it out… Make a variable for the number of sides and then build the script on the right.
CHECK OUR UNDERSTANDING
Programming Challenge Log on to Moodle and go to Programming 9 Find: 5. Drawing – Using the Stamp Command Read the instructions for the homework and begin working on it