4
votes
2answers
1k views

How to calculate linar velocity of planet orbit?

I try to simulate a solar system with planets (with random mass) placed randomly around a sun with a mass $X \times \text{solar mass}$. The simulation is going well when I use real data ...
0
votes
2answers
185 views

Planet's Moon attrated by sun [closed]

I'm currently writing a code to generate solar system and $N$ number of planets / moons. I use real data to test (earth / sun / moon data). I succeeded in placing the earth and make it orbit around ...
4
votes
1answer
115 views

Direction of planetary tilt

I am building a 3d solar system simulation using WebGL and have come across the problem of establishing the direction of tilt of the various planets. No I know the tilt of the planets in degrees what ...