The following code produces a bouncing ball that stays within the canvas window. Also notice, that when you click in the canvas, the angle of the ball’s path changes.
[ Code Download ] | [ View on GitHub ] | [ Live Example ] |
For your homework this week, you are to download the above code package from the following link.
In the readme.md
file, you should then;
Alter the code and make it more “interesting”. Make changes to the Bouncing Ball sketch that make it more interesting to you. Please must some of the additional techniques presented this week.
When you are done, upload your links to HW submission forum.