🎢 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.
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.
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.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install