Force Composer 2D — Superposition of Forces on a Body
Interactive 2D force sandbox: switch on gravity, a Hooke's-law spring, viscous drag and a constant thrust simultaneously on one body, watch each force drawn as its own vector plus a live bar chart of magnitudes, drag the body to fling it, and see the net-force arrow drive its motion through F=ma.
Every physics-simulation builder starts the same way: define an object's mass and position, then attach force models to it — gravity, a spring, friction, a thrust — and let Newton's second law turn their sum into motion. This sandbox makes that pipeline visible in a bounded 2D box. A single body is tethered to a fixed anchor by a Hooke's-law spring; you switch gravity, spring stiffness, viscous drag and a constant thrust on and off independently, and each active force is drawn as its own colored arrow rooted at the body while a bold white arrow shows their vector sum. A live bar chart tracks all five magnitudes at once, and you can grab the body directly with the mouse to fling it like a slingshot. Live readouts track the net force magnitude, the resulting acceleration from a = F/m, and the body's current speed as semi-implicit Euler integration steps the trajectory forward frame by frame.
Switch gravity, a Hooke's-law spring, viscous drag and a constant thrust on and off independently for a single 2D body, watch each force drawn as its own vector plus a live bar chart of magnitudes, drag the body to launch it like a slingshot, and see the white net-force arrow drive the motion through Newton's second law.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install