This project simulates the firing of a cannon ball. The projectile is acted upon by gravity and follows a parabolic path. Up/Down keys change the angle of the cannon. Right/Left keys puts the pen down/up to trace the trajectory of the cannonball.
Thank you PullJosh for the suggestion to make the tracing smooth. Thank you Caleb 234 for suggesting to make the velocity changeable by slider.