Hello everyone,

I've been searching for days to find a simple method of calculating the X,Y,Z coordinates of a planet that is in orbit at any point in time around another planet/star/sun.

...

To put it more precisely, here's what I would like to do.

1.Create a stationary "sun" at point

2.Create multiple "planets" at points

where n is the number of the planet from 1 to infinity

3.Generate all of the necessary parameters to define each planet's orbit around the sun while only looking to avoid collisions at intersection points (if possible)

4.For each computer cycle, calculate the new position of each planet based on their calculated orbits

Can anyone lead me in the right direction?

Thanks,

Marc