Gravity Garden

An interactive playground for Newtonian gravity and orbital mechanics.

1.0×

1.0×
1.0
4.0
400

Click empty space on the canvas, or focus it and press Enter/Space, to drop a new body. Click an existing body, or press [/], to inspect it, or drag it to aim and launch it. Drag empty space to pan the view, or scroll to zoom.

Keyboard shortcuts
  • Space play / pause
  • R reset the scenario
  • U undo the last add, remove, launch, or mass edit
  • ↑ / ↓ raise / lower speed
  • T toggle trails
  • C toggle the conservation chart
  • P toggle predicted paths
  • V toggle velocity vectors
  • A toggle acceleration vectors
  • M toggle the minimap
  • L toggle the scale bar
  • N toggle mass labels
  • G toggle Lagrange points
  • Enter / Space on the canvas: drop a body
  • [ / ] select the previous / next body
  • Esc deselect the current body
  • Delete / Backspace remove the selected body
  • + / - zoom in / out
  • 0 reset the view
  • F frame all bodies
  • ← / → pan left / right
  • Shift+↑ / Shift+↓ pan up / down

energy drift momentum drift