This simulation uses gravity force computed between different moving bodies of different mass. The system has stable orbits and sub-orbits that can be generated in many levels of hierarchy.
Controls
Press Esc key to pause/resume the simulation
Use the mouse wheel or +/- keys to zoom in/out
(Zoom in to discover sub-orbits, zoom out to discover distant bodies)
Use keys 1, 2, 3, 4, 5 and 6 to move (and attach) the camera to the different planets
(You can observe the system from the perspective of a moving object by moving the camera to a different object)
Use the arrow keys to freely move around without changing the view perspective.
Use the Q and E keys to rotate the camera left/right.