Here's a simulation of a collection of (randomly initialized) moons, acting under the universal law of gravitation, with mass proportional to radius cubed. Press 'R' to restart the simulation, and use 'h', 'j', 'k', and 'l' to shift the viewing area.

[Oops, your browser will not display java applets.]

Look at them go! See also the source code, and my spacetag game, and my other applets.

[contact me / Return to my Applets Page]