‹ All scenes

Hands-on

Three-Body Ink: a three-body problem simulator

Three glowing orbs on a real three-body orbit stir a volume of glowing ink; left alone, the orbit turns chaotic, one escapes, the other two spiral together and a new figure-eight begins.

Put a finger on an orb to grab it and let go while moving to throw it into a new orbit; drag empty space to turn the view and pinch to zoom.

The idea
Real Newtonian gravity: three equal masses starting on the famous figure-eight orbit, with a small nudge that lets chaos in. The ink is a vortex flow shed by the orbs, not a fluid simulation of real ink.
With music
Subtle on purpose: kicks make one orb surge with a shock shell, bass feeds another orb's ink, vocals make the third glow; mid onsets add streamers. Tap Demo beat for our own beat, or Your music to let it hear the room.
How it runs
It’s the same live simulation as in the Everdust apps, running in your browser on WebGL 2. If your device struggles, it lowers the detail a step at a time to keep the motion smooth.

What is the three-body problem?

Two objects pulling on each other by gravity are easy: Newton showed they move in neat ellipses, which is why planets have predictable orbits. Add a third body of similar mass and everything changes. There is no general formula for where three bodies will be in the future; you can only calculate it step by step.

In the late 1880s Henri Poincaré, working on a prize question set for the King of Sweden, found out why. The motion of three bodies can be chaotic: a tiny change at the start leads to a completely different future. It was one of the first discoveries of chaos.

There are special, orderly solutions. In 1772 Joseph-Louis Lagrange found three bodies can sit at the corners of a spinning triangle. In 1993 the physicist Cris Moore found a stranger one on a computer: three equal masses chasing each other around a single figure-eight. Alain Chenciner and Richard Montgomery proved it exists in 2000.

This scene starts the orbs on that figure-eight, with real Newtonian gravity, and gives them a small nudge. Over time the order breaks down. Often one orb is flung away and the other two settle into a pair, which is how unstable triple stars usually break up in space as well. The ink is a swirling flow shed by the orbs, not a simulation of real ink.

Questions

What does this gravity simulator calculate?
Newton's law of gravity between three equal masses. Each orb pulls on the other two with a force that weakens with the square of the distance, and their paths are worked out step by step while you watch. The glowing ink is a swirling flow the orbs shed, drawn for looks, not a fluid simulation.
Can I change the orbits?
Yes. Put a finger or the mouse on an orb to grab it, and let go while moving to throw it into a new orbit. Drag empty space to turn the view and pinch to zoom.
Why does one orb get thrown out?
Most three-body orbits are chaotic. As the orbs swing past each other they trade energy unevenly, and sooner or later one gains enough speed to escape while the other two pull into a tighter pair. Unstable triple stars break up the same way.
Is it free?
Yes. It runs free in your web browser on WebGL 2, with no install, no account and no ads.
Where else can I play with gravity?
Here in the browser, the gravity simulator at everdust.ai/play/gravity lets you add your own stars and planets, Black Hole Golf slingshots a probe past black holes and Orbit Hoops plays basketball under the gravity of other worlds. In the Everdust app, games such as Feed the Black Hole and Black Hole Golf run on the same physics.

This is just a taste

Loved Three-Body Ink 3D? There are many more worlds in the app.

The Everdust app has every world at full detail, plus games made of physics, stories you step inside, Create (turn any photo into a world), and hand tracking on Vision Pro and Quest. Out now on the App Store for iPhone, iPad, Vision Pro and Apple TV, on Google Play for Android and on the Meta Horizon Store for Quest; a free download for Mac from everdust.ai/mac.

Get Everdust on the App StoreGet Everdust on Google Play