For Students · Cloth / Spring-Mass
Cloth / Spring-Mass 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.
Cloth / Spring-Mass StudioLive
Verlet integration · constraint relaxation
Controls
A grid of masses linked by springs, pinned at the top. Grab any node and drag it around — it's a real Verlet cloth simulation.
Presets
Data Inspector
Nodes28×20
IntegratorVerlet
Constraintsdistance (×3/frame)
Governing equation
Reading this result: No wind, so the cloth hangs straight down from its pinned top row and settles into a smooth catenary once the motion damps out.
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
Also for:ResearchersEducatorsEngineersHobbyists & MakersK-12 StudentsFirst RespondersGeneral version →
More with Cloth / Spring-Mass
Cloth / Spring-Mass for a projectile from a cannonCloth / Spring-Mass for a bouncing ballCloth / Spring-Mass for a pendulum clockCloth / Spring-Mass for a car brakingCloth / Spring-Mass for a roller-coaster loopCloth / Spring-Mass for a satellite orbitCloth / Spring-Mass for a mass on a springCloth / Spring-Mass for a skydiver's free fall
Frequently asked questions
- Is this good for students?
- Yes — this version of "Cloth / Spring-Mass 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.