Drag the canvas to launch a ball and observe realistic projectile motion with gravity and air resistance. Save trajectories for comparison, step frame-by-frame, and adjust speed or pause for detailed analysis.
Coefficient of restitution e is the ratio of separation speed to approach speed before and after collision. In a perfectly elastic collision (e=1), energy is fully conserved and the ball bounces back to the same height forever. Real balls have e<1, so energy is lost to heat, sound, and deformation with each collision.
Bounce height decay: The bounce height after n bounces from initial height h₀ is h₀ × e²ⁿ. For e=0.75, after 5 bounces it is about 24% of h₀, and after 10 bounces about 5.6%.
Floor friction μ attenuates horizontal velocity vₓ by a factor of (1-μ) on each bounce. Move the slider to experience the difference between a slippery floor and a rough floor.
Ball-to-ball collisions use equal-mass elastic collision equations. The coefficient of restitution e applies to both wall and ball-ball collisions.