I've created a script, with the assistance of the same PHP class as before (GifMerge.class.php) which allows the user to define some parameters (the initial velocity in both the vertical and horizontal directions, the elasticity of the ball, and the acceleration due to gravity) and watch the consequences on a bouncing ball.
View it here