Processing
Animation
INTRO
Variables
The draw() Loop
Scope
Resetting
Bouncing
Now when we detect the circle has fallen off the bottom of the window (when circleY > height), we can reassign the ySpeed variable:
Shortcuts