🚦Stop & Go & Review

Learning Targets

Do Now (in Google Classroom)

Why isn’t the ellipse bouncing off the right edge of the screen? Can you fix it?

Can you make the stroke weight change as the ellipse moves?


Traffic Light

Create this β€œtraffic light” in p5:

Rubric

Specification Points
3 ellipses, each light up different colors 3
It must be able to β€œlight” up in three different colors one at a time 1
Only one light should be lit at a time 1
Lights are conditionally activated1 1
Total 6
  1. It’s your choice how to activate the lights. Mine are based off mouseY. You could use a click, mouseX, your keyboard…whatever you want.