Quote:
Originally Posted by Radical Edward
ooh simple? sinx + cosy = r
|
Ummm, you mean {r sin t, r cos t}, don't you? Or, {r sin(ωt+φ), r cos(ωt+φ)}, if you want to control the speed and starting position. ω should be Gm/√(r³), where G is some constant, and m is the mass of the orbited object.
That should be almost correct if there is only one planet, at least.
For more interesting star systems, the more accurate model would be better, though.