HTML5 Canvas Acceleration Tutorial
Description
To create a quadratic motion animation with HTML5 Canvas, we can increment the vx (horizontal velocity), the vy (vertical velocity), or both the vx and the vy of an object for each frame, and then update the position of the object, according to the equation of acceleration:
distance = velocity * time + 1/2 * acceleration * time ^2