5. Design Templates, Randomness and For-loops
Exploration
Exploration
What are the parts of the random() function? As a class, open the t-shirt template with random() and do PPC.
Record your observations here. (Make a copy).
Lesson
Lesson
Introduce t-shirt template with for-loop.
Change parameters in the for-loop. What do you notice? What do you wonder about?
Challenge
Challenge
Make your own repeated pattern design. Copy this starter project or use the code from this project with another design template. (Make a copy)
Exploration
Exploration
With a partner, or on your own, explore repeated patterns and additional design templates in this mini-lesson.
Let's be picky about vocabulary!
Let's be picky about vocabulary!
Loop - a control structure that repeats a sequence of instructions either infinitely, or until a specific condition is met.
for-loop - a loop that starts with the word 'for'.