Bouncing Ball 2

04/10/2002 - Here we see a much superior ball bouncing program. The ball is now effected by both gravity and friction, and I also double buffered the images in order to reduce flicker. In addition it uses random numbers to decide which direction and speed the ball travels in at startup. This was just an attempt to learn how to double buffer images for flicker free animation.

Download the Source