Faradium logoFaradium
Home › Simulations › Gravity and Orbits
PhysicsInteractive simulation

Gravity and Orbits: free physics simulation

N-body gravity sandbox: planets, moons, binary stars and the figure-eight orbit.

▶ Open the simulation

Free, no sign-up. Works on phones, tablets and laptops.

The science

Every mass attracts every other mass with a force that falls off with the square of the distance. A planet in orbit is constantly falling towards its star while moving sideways fast enough to keep missing it. Kepler’s laws describe the resulting elliptical orbits.

F = G m₁ m₂ / r²

Things to try

  1. Give a planet a little less speed and watch the orbit become an ellipse.
  2. Build a binary star system.
  3. Load the famous figure-eight three-body orbit.

Topics covered

solar system kepler n-body planets moon binary star

How to use it

Open the simulation, then change the experiment live with the sliders, checkboxes and buttons in the side panel. Drag objects on screen where it makes sense, and use Pause, Step, Speed and Reset in the bottom bar to study every moment.

Frequently asked questions

What does the Gravity and Orbits simulation show?

Every mass attracts every other mass with a force that falls off with the square of the distance. A planet in orbit is constantly falling towards its star while moving sideways fast enough to keep missing it. Kepler’s laws describe the resulting elliptical orbits.

What is the key equation?

F = G m₁ m₂ / r²

Is the Gravity and Orbits simulation free?

Yes. It runs free in any web browser on phones, tablets and laptops, with no sign-up or download.

More physics simulations

Projectile Motion

Fire a cannon. Explore angle, speed, gravity and air resistance.

Pendulum Lab

Swing pendulums, measure the period, and watch kinetic and potential energy trade places.

Masses and Springs

Hang masses from springs. Hooke's law, oscillation period and energy.

Wave Interference

Ripple tank with two sources or a double slit: constructive and destructive interference.