For this assignment, you will be using Processing's built-in width and height variables to make an improved copy of your stoplight that can be viewed at any size that's proportional to the original.
This is a code along video. Instead of simply watching the video, you should be following along on your own computer as well. You will learn how to make your stoplight resizable. As usual, pause the video as needed so you can work.
Part 1: Resize the Rectangle
Part 2: Resize the Ellipses
Part 3: Test Your CodeĀ
What to turn in -- Resizable Stoplight Details
Fork/Copy your existing Stoplight project so you won't change the original
Review the code you wrote to identify which statements draw each component
Change the code so it uses expressions involving the width/height variables
Change the size of your sketch to confirm that the stoplight still appears proportionally correct
When you are satisfied, submit a link to your resizable stoplight
Resizable Stoplight Rubric - 10 Points