HTML5 Canvas app to simulate projectile motion of an object.