From FrugalWiki
Galaxy
Stellar simulation program. Watch a few "stars" move around each-other, steered only by their mutual attractions, or watch thousands of random stars evolve into a spiral galaxy.
installation
Links
http://kornelix.squarespace.com/galaxy/