astronomy-chat.net
Promoting astronomy discussion.



Main
Date: 19 Dec 2006 09:00:23
From: Steve Giannoni
Subject: Gravity Simulation Program


Check out "Gravity Simulation" at :

http://www.petesqbsite.com/downloads/misc.shtml

Program simulates the motion of three equally massed planets, placed
at rest in a random triangle. Planet's names are, Magenta, Cyan, and
Yellow for the obvious reason. The forces of gravity are normally
attractive between masses, equal to the product of the masses, divided
by the square (power = 2) of the separation distance. In each
simulation, the computer picks a random value for the "Gravity power”
from 1.0 to 2.2 (indicated in the lower left), to ascertain the
effects of various “different gravities”. The “G” hot key starts a
simulation with normal Gravity. Planet trails are beautiful and
interesting. Use the "H" and "L" hot keys to zoom in and out on the
action as needed.