Lab / Physics Sandbox

Physics Sandbox

Simulate pendulums, springs, projectiles, collisions, and orbits. Adjust parameters and watch physics unfold in real-time.

Parameters

Gravity9.8 m/s2
Length 1150 px
Mass 110
Damping0.00

Drag on canvas to set angle

Energy

KE
0.0
PE
0.0
Total0.0
Speed
Time0.00s

All simulations run entirely in your browser using Canvas. Drag on the canvas to interact — set pendulum angles, add collision balls, or launch orbital bodies. Use RK4 integration for accurate physics with fixed timestep.