Basketball

Objective:

We had to animate a simple SVG of a basketball to roll from one edge of a box to the other edge, where it will bounce back and keep rolling the other direction.

Problem:

Something that complicated our task was that this was that this was one of our initial projects including JavaScript.

Solution:

Once taught the proper syntax by my instructor, I dabbled with the numbers to that would make my ball roll and bounce off the wall at a realistic speed.