Objective: Make a basketball bounce in two dimensions.
Problem: I wanted there to be two balls.
Solution: I altered the code to scale for however much balls I want.
Problem: I wanted the balls to bounce off each other.
Solution: I added some code in Javascript to calculate if their coordinates were close enough to each other for them to bounce away from each other.