PPolySim OS
For Students · Elastic Collisions

Elastic Collisions for a two-cart collision

Built for students learning it for a class or exam. See the concept move instead of memorizing formulas — and check your homework intuition. Simulate a two-cart collision live below — adjust the inputs and watch it respond, right in your browser.

Elastic CollisionsLive

Controls

Presets

Balls collide with impulse-based physics. At restitution 1, kinetic energy is conserved; below 1, collisions are inelastic and energy drains away.

▶ Run in Python

Data Inspector

Balls12
Total KE0.00e+0
Collisionselastic

Governing equation

Reading this result: With restitution 1 every bounce is perfectly elastic, so the total kinetic energy of all 12 balls stays constant forever — a 2D model of an ideal gas.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →

More with Elastic Collisions

Frequently asked questions

Is this good for students?
Yes — this version of "Elastic Collisions for a two-cart collision" is framed for students learning it for a class or exam. See the concept move instead of memorizing formulas — and check your homework intuition.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.