Day 3: Personalize Your Project
Day 3: Personalize Your Project
VIDEO LESSON
Today's Topics:
Generating random numbers using random()
Conditionals (if/else statements)
Comparison operators
(>, <, >=, <=, ==)
for loops + nested loops
noLoop()
RESOURCES
reference sheet:
template AND demo:
note: You may not be able to fully view the sketch here -- open it in a new tab! Double click the sketch title and press "open in new tab." Click </> in the top right corner to view the code!
REFLECTION QUESTIONS
What does random() allow your code to do?
How are if statements and for loops useful when creating patterns or designs?
What was something unexpected or interesting that happened when you experimented with your code?