Three-Body Problem
Gravitational N-body simulation
Global
G (gravity)
5.0
Time step
0.004
Trail length
600
Softening
2.0
Steps/frame
8
Body 1
Mass
80
Body 2
Mass
80
Body 3
Mass
80
Presets
Figure-8
Lagrange
Butterfly
Pythagorean
Sun+2
Random
Pause
Reset
Reference Frame
Free
CoM
Body 1
Body 2
Body 3
E = 0
Drag canvas to pan. Scroll to zoom.
Adjust sliders in real-time.
Click a preset to load initial conditions.