Home▸Everyday Physics▸Roller Coaster Physics: Energy-Conservation Track Simulator (2D)

🎢 Roller Coaster Physics: Energy-Conservation Track Simulator (2D)

A 2D side-view roller coaster where the cart's speed and g-force are computed from energy conservation along the track height and curvature.

Everyday Physics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
Roller Coaster Physics: Energy-Conservation Track Simulator (2D) ↗ Open standalone

This 2D companion runs the same energy-conservation physics as the 3D roller coaster through a plain side-view canvas: a Catmull-Rom spline traces the chain-lift climb, the big drop and a full vertical loop, the cart's speed is solved from potential-energy-to-kinetic-energy conversion along the track height (with a friction term draining the energy budget), and the live g-force reading combines centripetal force from the track's curvature with the gravity component along the track normal — the same formulas the 3D version uses, just watched from the side.

⚙ Under the hood

A 2D side-view roller coaster where the cart's speed and g-force are computed from energy conservation along the track height and curvature.

roller coasterenergy conservationkinetic energypotential energyg-forcecurvature

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)