Simple ball bouncing animation. try changing the values of xSpeed and ySpeed to modify the animation. Changing the initial x and y values as well as the size() will also modify the behavior of the ball. This is a simple animation, but it covers a lot of fundamental aspects of programmatic animation.
Source code: week2_ball_bounce