An interactive N-body solar system. Tune the physics and watch orbits respond.
Simulation
0.02×
1.00×
1.00×
View
1.00×
Edit selected body
×1.00
×1.00
×1.00
Focus body
Drag to pan · Scroll to zoom (at the cursor) · Click a body to focus · Right-click a body to delete it · Both buttons drag to tilt/spin · Press 0 to reset view, z to undo. ☀️ Add star / 🕳️ Black hole: arm it, then click to drop (or drag to fling a fly-by) and watch the system deform. 🚀 Mission: steer the probe with ←↑↓→ / WASD (prograde, retrograde, lateral) — reach the target before the fuel runs out. Touch: drag to pan · pinch to zoom · two fingers to tilt/spin · tap to focus · when 🎯/☀️/🕳️ is armed, drag to aim (tap = drop at rest).
Experiments
0.60 M☉
Saves
Formation — accretion disk
220
0.50 AU
4.50 AU
1.00 M☉
600 M⊕
0.15
Seeds a protostar + a disk of planetesimals; collisions accrete them into planets. Beyond the ice line (~2.7 AU) bodies are icy / gas-giant material. Tune the disk, then press Form.
An interactive N-body sandbox.
Generated from TypeScript · vanilla JS + Canvas Compiled 2026-08-22 14:03 CEST