This interactive simulation demonstrates the three-body problem in physics. It shows three objects moving in space, attracting each other with gravity and a central force.
Change the values to see how the simulation behaves.
An artificial force that pulls each body towards the origin, like sun's gravity in a planetary system.
Controls the strength of the gravitational force between the bodies.
Speed controls how quickly the simulation runs.
Softening is a way to model the size of the bodies and prevents the simulation from becoming unstable when the bodies are very close together.