Research · Cube dynamics
Three-body laboratory
Change a mass to generate an orbit. Pause at any step, save the state and resume it. A captured instant lets you compare what each observer measures from the same 1X reference.
Run the experiment
The cube uses an equal-mass figure-eight preparation with small out-of-plane offsets and velocities.
- Epoch (T)
- 0
- Total mass (M)
- 3
- Smallest surface gap (L)
- —
- Energy change (ML²/T²)
- —
- Angular momentum change |ΔL| (ML²/T)
- —
Paused at the initial state.
Set the initial conditions
Set each body’s mass, position and velocity. A body with zero mass follows the gravitational field without pulling on the other bodies. Give a point tracer zero radius. A positive radius sets a geometric contact distance. Composition is recorded with the preparation.
Edit bodies and solver settings
Save and resume an orbit
Checkpoint file
Save the current fixed-step state, the starting conditions and your captured 1X measurement. Open the file to restore that instant in a paused laboratory.
Restart accuracy
Advance a copy by 100 steps. At step 50, save and restore a second copy. Compare both endpoints while your orbit stays at the selected instant.
Follow a close encounter
In Burrau’s Pythagorean problem, three point masses start at rest at the corners of a 3–4–5 triangle. Run to T = 80 to see which body moves away and which two form the closest pair. Changing A’s mass or starting position launches a new integration.
- A position (L)
- 1, 3
- B position (L)
- −2, −1
- C position (L)
- 1, −1
Encounter settings
Ready at the initial triangle.
- Accepted epoch (T)
- 0
- Adaptive steps
- —
- Minimum sampled separation
- —
- Peak relative energy drift
- —
Pair and outer body
The outer body is the third body relative to the closest pair. Positive radial speed means increasing distance from the pair’s centre of mass. Negative pair energy and positive outer energy are finite-epoch evidence for separation.
- Closest pair
- —
- Outer body
- —
- Outer radial speed
- —
- Outer specific energy
- —
- Pair specific energy
- —
Numerical method and reference check
Each step evaluates unsoftened pair gravity. Modified midpoint extrapolation through order 16 adapts the step against relative tolerance and an absolute tolerance equal to 0.01 times that value. Positions, velocities and forces use double-double arithmetic. At an exact collision the point-mass law is singular. Stopping the integration keeps the last accepted sample.
For the canonical inputs, accepted coordinates at up to twelve epochs are compared with two 113-bit integrations. The reported differences are sampled numerical comparisons.
Measure one instant
A. Keddeh’s Observer Theorem asks what an observation records about a state when the frame, measurement operation and history are specified. Here observer1 measures one saved epoch with 1X as the common referent. Changing the frame or ruler recalculates that observation.
Oᵣ = T(S, Mₒ, F, H, R)
In Keddeh’s WP-05, S identifies the source state, Mₒ specifies the observer and instrument, F is the intervening signal, H describes environmental conditions and R is the memory state. This experiment reads the numerical positions directly in the cube’s units and keeps one capture until you replace it.
All three boundaries share 1X and meet each coordinate axis at the same radius. The diamond ruler adds the absolute axis displacements. The circle ruler takes their Euclidean length. The square ruler reads the largest absolute axis displacement. For one displacement of (3, 4, 0) L they return 7, 5 and 4 L. In three dimensions their unit surfaces are an octahedron, a sphere and a cube.
Read the mathematical reviewObserver record
Capture the current instant to compare readings while the simulation continues.
- Common origin
- 1X
- Captured epoch (T)
- 0
- Displacement (divisions)
- —
- Ruler reading (divisions)
- —
Scale the physical experiment
With G and each mass held fixed, multiply every position and contact radius by λ. A corresponding Newtonian trajectory has velocities divided by √λ and elapsed times multiplied by λ3/2. In that experiment a twice-as-large orbit takes about 2.828 times as long. Changing ruler divisions above only changes how the captured state reads.
- Time factor
- —
- Velocity factor
- —
- Scaled subject position (L)
- —
- Scaled subject velocity (L/T)
- —
- Corresponding epoch (T)
- —
What drives the motion?
Pairwise gravity
Each pair attracts along its line of centres. The force on i from j is Fᵢⱼ = G mᵢmⱼ (rⱼ − rᵢ) / |rⱼ − rᵢ|³, using Euclidean separation. For a massive body the total force divided by its mass gives its acceleration. For a massless tracer the solver sums the fields of the massive bodies directly. Both evolve along all three axes.
The solver uses velocity Verlet with a fixed step. L, M and T are chosen simulation units of length, mass and time. Surface contact or an unresolved close approach pauses the run at its last accepted state. A smaller step can resolve closer motion. The cube supplies the frame and has no reflecting wall.
Check the preparation
The planar preset uses the published equal-mass initial conditions, rescaled into the cube’s units. The cube preset perturbs the out-of-plane positions and velocities. The unequal-mass experiment keeps that preparation and changes the three masses to 1, 2 and 0.5 M.
Compare total-energy drift as you change the step. A body-relative observation subtracts that body’s position at the captured epoch. For relative accelerations, the same subtraction applies to its acceleration.
Read Chenciner and Montgomery’s figure-eight paper