Click and Drag to move!
Objective: Move a basketball around a canvas using JavaScript. Have it respond to mouse clicks and change the color of the basketball on the bounce. Correctly spin after each bounce.
Problem: How does a basketball spin after a bounce.
Solution: Calculating how it would correctly spin on each bounce.