Lab 02 — Make the Ball Yours
An interactive bouncing ball made with p5.js.
My Sketch
How to Play
Click on the canvas to change the direction of the ball. Press the space bar to pause or resume the animation.
What I Changed
I customized the original bouncing ball by changing its colors and adding new interactions. The ball changes direction when clicked, and the animation can be paused and resumed using the space bar.