POSTPONE THIS PAGE AND THE NEXT UNTIL AFTER MAKING BLOCKS FOR SQUARE, ROW, AND ARRAY
"Draw in red" block unclear: We've gotten several comments about this. I made the sidenote more clear, but there is a bigger issue, namely that we haven't taught students how to create custom blocks yet. --MF
GH Feedback 9/20/15: You're asking the students to write a block "draw in red" before they have learned how to create blocks.
GH Feedback 9/22/15: My students were confused about the "draw in red" block. Did I miss a lesson where they were taught to create blocks on their own by using other blocks?
GH Feedback 9/27/15: What does "you write draw in red mean"? I don't understand.
GH Feedback 9/28/15: I dont understand what to do in step 4. It is not clear.
GH Feedback 9/22/15: I love question 1, but my kids blew right by the questions asked and instead just created the scripts in Snap and ran them all at the same time in the same sprite! More scaffolding would be great.
Analyze and predict: How are the behaviors of these four scripts the same? How are they different?
Analyzing these scripts will help you control the speed of the drawings in the problems below.
"U1L2-SpriteOrbit"
Give Sprite a script that, when the green flag is clicked, draws a blue square, drawing each line at some medium speed.
When you are finished, double-check that your script does exactly what you mean for it to. This is always a good idea when coding because if you move on with part of the program still not working, you will only compound your problems.
You write the block.
Create a second sprite with a script that does this:
Test your program. Make sure that it starts both sprites at the same time.
Experiment with the speeds of each sprite.
What happens if Sprite(2) moves 20 steps instead of 5 steps each time it goes through the forever-loop?
What if Sprite(2) moves only 2 steps?
What if Sprite draws its square more quickly?
Describe the results of your experiments. Include pictures of the screen to show what happened. Try to explain why each picture came out as it did.
Sprite doesn't need to move in a square. Try one or more of the following experiments.
Change Sprite's turn to 144 degrees.
Change Sprite's turn so that it makes an equilateral triangle.
Change Sprite's turn to 10 degrees and make the distance it moves in each step much smaller than 100.
Try to make some other interesting designs. Here are some examples:
Describe the results of your experiments. Include pictures and explanations.