3-Body Orbital Physics Simulator
i
ORBIT SIMULATOR
v1.0
Integrator: Velocity Verlet / RK4
Physics: Newtonian Gravity (G=1)
Renderer: Three.js WebGL
Built with precision ✦
Preset Scenarios:
-- Select Preset --
Binary Orbit
Planet + Moon
Figure-8 Orbit
Sun-Earth-Moon
Binary Star + Planet
Chaotic 3-Body
Lagrange Points
Bodies:
1
2
3
Body 0
M
x
y
z
vX
vY
vZ
Body 1
M
x
y
z
vX
vY
vZ
Body 2
M
x
y
z
vX
vY
vZ
dt
Steps
Integrator:
Verlet (Stable)
RK4 (Accurate)
Show Vectors (V)
Follow:
None (0)
Body 0 (1)
Body 1 (2)
Body 2 (3)
Energy:
N/A
Play (Space)
Pause (P)
Reset Cam (R)
Shortcuts (H)
Save Configuration
Load Configuration
💡 Simulation Controls
•
dt
(time step): Lower = more accurate, slower
•
Steps/frame
: Higher = faster simulation
•
Effective time/frame = dt × Steps/frame
⌨️ Keyboard Shortcuts
SPACE
Play / Stop
P
Pause / Resume
R
Reset Camera
F
Fullscreen
V
Toggle Vectors
1 / 2 / 3
Follow Body 0 / 1 / 2
0
Follow None
H / ?
Show This Help
ESC
Close Help
Close (ESC)