A Close Pair. A Distant Companion. A Restless World.
Two suns dance together. Farther out, a third body follows their changing gravity. Watch the orbit—and look underneath to discover the tidal rhythm hiding in it.
What sci-fi movie main character's home planet does this remind you of?
A continuous numerical experiment. No preset time limit; pause whenever you like.
Choose your viewpoint
Same physics, different camera. The faint grid stays fixed to the whole-system frame. Follow A–B, and the grid slides past: this camera is not inertial.
Choose a starting dance
One click restarts and plays. The bodies remain free: nothing follows a scripted orbit.
Original starting conditions: the paths begin nearly circular, then all three masses interact.
Watch the dance
Checking parallel computing support…
Set the starting dance
Change a starting value, then select Apply & restart. The original equal-mass hierarchical triple is one click away.
The quick starts use the same Newtonian physics. “Elliptical” means a slower tangential launch near the nominal far end of an ellipse: an isolated pair would start at eccentricity ~0.42; C around the pair at ~0.38. C’s speed slider scales its chosen launch speed and radial motion can change the shape further. All three masses are equal here and perturb each other: these are approximate initial conditions, not guaranteed ellipses. Apply & restart preserves your selected pattern; Original starting state restores the original near-circular setup. Every restart resets the measurements.
Live gravitational readouts
Explore the chaos · Optional instruments
The beautiful dance is still the same numerical experiment. Here are two optional ways to look beneath the motion—without questions to pass or results to chase.
Changing partnerships
A provisional, instantaneous classification: choose the pair with the lowest two-body energy; call it hierarchical only when the remaining body lies farther than 3 times that pair’s osculating semimajor axis. “Wide excursion” additionally requires a distance above 10 units. These thresholds do not prove future stability or permanent escape. The A–B diamond remains the midpoint of A and B regardless of which pair is temporarily bound.
The Butterfly’s Twin
Start a second independent integration with C displaced by only 10⁻¹⁰ simulation units. The experiment restarts from the chosen initial settings. The pale dashed trails and hollow markers show the twin. Nothing about its future is scripted. The two trajectories run in separate CPU workers when supported, and each comparison uses matching simulation times.
The gap plot uses a logarithmic vertical scale; its blue curve comes from actual computed positions at matching simulation times, after removing overall translation. A large gap means the two solutions disagree—not that one has stopped following Newton’s equations. Neither branch is certified as an exact long-term trajectory.
Where’s the bowling ball?
Two stars orbit an empty point. A distant companion can circle the pair. But if you learned gravity from a bowling ball denting a trampoline, an uncomfortable question may linger: what makes the dent where there's no ball?
Move the imaginary observer
Choose any two bodies. Their actual positions come from the running three-body simulation. We isolate their field here to expose what the trampoline picture hides.
Move the probe farther away: the two-source result approaches the simpler point-mass approximation. This is an instantaneous force comparison at a massless test point, not a second simulated orbit.
The hidden tidal weather
LIVE · MEASURED FROM THE SIMULATIONA smooth-looking orbit can conceal a changing tidal environment. These plots use separate vertical scales and different quantities: orbital distance in simulation units, and tidal differential acceleration per length unit. Compare their timing, not their plotted heights. This is not a measure of planetary deformation.
Spacetime ripples, beneath the dance
IDEALIZED QUADRUPOLE · VISUALLY MAGNIFIEDThe soft cyan and coral colors behind the orbital trails illustrate a signed projection of the whole system’s changing mass quadrupole. All three bodies uses positions, velocities and accelerations relative to the full-system center of mass (white cross), even when the chosen orbit viewpoint follows the binary (gold diamond). A–B only deliberately omits C, letting you see where the old approximation breaks down—for instance when a new close pair forms. The colors share the same source scaling within a run; neither mode adds forces to the Newtonian orbits.
This is a schematic, far-field quadrupole visualization, not an exact spacetime map: wavefronts are drawn around the full-system barycenter using retarded history and an arbitrary illustrative propagation speed. The simulation has no assigned physical masses, distances, or speed of light. Color intensity and propagation are greatly exaggerated; close approaches may lie outside the weak-field slow-motion regime of the approximation. Persistent offsets after scattering are not diagnosed here as gravitational-wave memory.
Why C's orbit can wiggle
From far away, the two inner bodies almost act like one mass. But not quite: their positions change as they orbit, so the direction and strength of the extra pull on C change too. This can introduce small radial and sideways perturbations.
The gold and cyan curves show its radial and sideways components. They are instantaneous acceleration differences, not a measured displacement from a perfectly circular orbit.
Why a planet feels tides
A planet has size. Its near side and far side do not feel exactly the same external gravitational acceleration. The colored map probes that difference around an imagined small circle centered on C.
Teal means locally stretching along that direction; coral means compression. The map samples gravity at different locations; it does not model a solid planet deforming.
When chaos looks calm
We watched the three bodies tangle, unexpectedly settle into a graceful-looking arrangement, and wondered why. Independent numerical calculations, long excursions and a careful comparison with this laboratory’s own engine helped us investigate. The story is open to everyone—students can start with the mystery, and curious programmers and physicists can follow the numbers and reproducible source.
This study investigates one selected three-body starting arrangement. Its numerical accuracy and statistical findings do not apply automatically to every orbit or to the illustrative gravitational-wave overlay.
Model honesty. This is the original exact pairwise Newtonian point-mass experiment (G = 1), with an approximate hierarchical triple launch. A, B and C all have mass 1 in these dimensionless units. We are imagining C as a planet for the story; it is not a realistic star-star-planet mass ratio. Changing the imagined planet radius affects the tidal probe, not the gravitational trajectories. A long, pleasing orbit is not a proof of indefinite stability. The adaptive integrator stops safely near unresolved point-mass encounters. The faint gravitational-wave overlay is a visually magnified quadrupole illustration, not an exact GR waveform or a change to the Newtonian trajectories. No score, no quizzes, no answers to the sci-fi question.