GRAVITY BENCH · 023 N-BODY SOLVER · 120 BODIES · SYMPLECTIC EULER
bodies 0energy 0.00fps 60mode aim + release
Drag on empty space to aim a launch vector, release to fire. click adds a planet · shift+click adds a heavy star.
ice trailgold trailescape path
APOAPSIS RECORD
ESCAPES0
MERGERS0
STABLE ORBITS0

Bench notes — flying the console

Softening saves you from slingshot infinities. Substeps save you from spiral-out.

Aim truth

Drag length is velocity. Short drags circularize. Long drags escape. Shift buys mass.

Merge rule

Overlapping radii conserve momentum into the heavier body. The log names the survivor.

Escape watch

Bodies past the margin are counted and freed. Apoapsis keeps the record.

Keyboard: F fires a fleet, X clears, P pauses.

Integrator choice

Symplectic Euler with two substeps per frame. Stable enough for play, honest about energy.

Offline use

Double-click the file. The solver, grid and trails run with zero network.

Orbit colophon — 023

Integrated, merged and counted in one file. Rulings from the bench.

SOLVER

Two substeps per frame. Softening 24 by default.

TRAILS

Ring buffers to 160. Heavy stars draw faint and wide.

COUNT

Escapes, mergers, stable orbits and apoapsis tracked live.

F fleets, X clears, P pauses. Click seeds, shift-click stars.

Energy honesty

The HUD sums kinetic live. Mergers conserve momentum exactly.

Offline bench

Double-click to open. Solver, grid and log run locally.

Print: the field becomes a mission chart. Page 023 · 2026.