Ball (color = speed)
Bigger = more mass
This 2D companion strips the 3D ball-pit down to a flat Canvas view built to make momentum conservation legible: every disk carries a mass proportional to its area, ball-ball impacts are resolved with the full impulse-based elastic-collision formula along the contact normal, and a live readout tracks total kinetic energy, total system momentum and the collision rate so the effect of the elasticity and gravity sliders is directly visible instead of implied by a rotating camera.