N-Body Simulator

2D GRAVITATIONAL · VELOCITY VERLET INTEGRATION

Imprint/Impressum - Privacy

Simulation Control▾
t = 0.00 s
?
Log-scale. Each step = one full Velocity Verlet integration of Δt. Higher = faster simulation, lower accuracy.
×1
slow×10×100×1000fast
Δt: —
Sim rate: —
?
Physics timestep per integration step. Smaller = more accurate. Error ∝ Δt².
?
Prevents 1/r² singularity: r_eff = √(r²+ε²). Set 0 for exact physics (may diverge at close approach).
View Controls▾
—
500
Units & Scale▾
Bodies▾
Preset Systems▾
Physics Diagnostics▾
Total energy E—
Kinetic energy KE—
Potential energy PE—
Energy drift—
Center of mass X—
Center of mass Y—
Total |momentum|—
Far bodies (>10³ AU)0
Import / Export▾
FPS --
Bodies 0
Steps/fr 1
Double-click canvas to add body · Scroll to zoom · Drag to pan · Click body to select