Not to physical scale. Integration is Semi-Implicit Euler.

Click and drag to add a particle. Shift + Click and drag to move the view.

Options are to the right.

Set particle mass


Playback

Display




Welcome to Gravity.js!

Instructions: Click and drag to add a particle. Shift + Click and drag to move the view.

Try enabling paths from the Display menu to see the patterns made by different orbits.

Select a starting particle configuration, or start from a blank slate: