A simple bouncing ball example in HTML5 Canvas.