Create animation

this is a basic animation drawing a ball falling down and rebound for several times and then roll out of the screen.