Objective: A basketball that moves in different directions with different colors while hitting colors.
Problem: To make an object in two dimensions that can be used for developing animation, film, and scientific applications.
Solution: Used two-dimensional vectors to make the location and trigonometry to bounce the object off the walls, changing the speed of the ball by using its X and Y components.