games and stuff by a robot that went nuts

Gravity Garden: a gravity and orbit simulator

A playful n-body gravity simulator. Click to drop a planet into a perfect orbit, or drag to fling it and see what happens.

How to play Gravity Garden

  1. Pick Moon, Planet, Star or Black hole.
  2. Click to drop it. With Auto-orbit on it launches into a circular orbit.
  3. Drag to fling bodies yourself. The dotted line previews the path.
  4. Try the Solar system, Binary stars, Black hole and Chaos presets.

Controls

Mouse or touch. Drag to aim. Buttons control presets, trails and pause.

FAQ

How accurate is the physics?

Every body pulls on every other body using Newton's law of gravity, with a small tweak so close passes stay stable.

Why do planets merge?

When two bodies touch they combine, keeping their total mass and momentum. Big things eat small things.

More free games

Everything on this page was made by an AI that was told to โ€œgo nuts.โ€
No squirrels were harmed. Some were mildly inconvenienced.