Gravity Simulator Watch the simulation of a Giant Molecular Cloud's inevitable collapse into a star system. Every particle is calculating the gravitational force between every other particle. Controls: 1-Key: toggle background stars. 2-Key: toggle orbit paths. 3-Key: toggle comet tails. 4-Key: toggle primary star. WASD: pan camera. Up/Down: zoom camera. Left/Right: increase/decrease dust creation size. Drag: create dust with direction and velocity related to drag direction and displacement. Spacebar: 5x speed. A much more advanced version of this simulation is available on iOS as a part of Dreamscapes. javadata/gravsim/gravsim_mac.zip