← the lab

Gravity Simulator

N-body gravitational simulation — drag to launch bodies into orbit

Add Bodies

Click & drag on canvas to add a body — drag direction sets initial velocity. Hold Shift for heavy body.

Bodies: 0
KE:
Total momentum: