This program uses simple Newtonian physics to simulate celestial bodies in space.
- Press R to reset the system
- Press S to simulate a star-planet system (it also resets the system).
- Drag your mouse to shape the object's radius and release your mouse when your done.
- Drag your mouse to select the direction and magnitude of the object's velocity and release when done. A small magnitude will result in the object having no velocity.
- A random-colored object with your configurations is created.
If two objects collide, the object will the small radius will be destroyed and the object with the larger radius will remain in the system.