Labs · Forces

The Three-Body Problem

The Three-Body Problem simulation

Two bodies under gravity follow neat ellipses. Add a third and there is, in general, no closed-form solution, and the motion is often chaotic. Yet special stable solutions exist, such as the famous figure-eight found in 1993 and proven in 2000.

This simulation uses velocity Verlet integration, which conserves energy far better than the simple Euler method of the earlier demo. The status panel shows how much the total energy drifts.

Load "Pythagorean (chaotic)", three bodies at rest with masses 3, 4 and 5. Watch them dance until one gets flung out.

Controls

Evolved from Gravitational Attraction.

Evolved into Gravity Field & Potential.