Skip to content
All experiments
Velocity-Verlet gravitational integration

N-Body Gravity

Point masses under mutual Newtonian gravity, integrated with a symplectic velocity-Verlet step so orbits stay stable instead of spiralling from numerical drift. Starts as a binary; click to fling in more bodies.

physics · n-body · canvas · runs entirely client-side · respects prefers-reduced-motion