Satellite orbits are currently circular and not inclined but of course in reality are elliptical and inclined. We could implement this by fully solving for the position of a Keplerian orbit but this would need a set of Keplerian orbital elements and their evolution in time. Alternatively we could correctly calculate the orbits and orientation/position of the planets using accurate ephemeris from the WebGeoCalc REST API. Each time the planet or time changes we would obtain the states of the current planet and satellites using WebGeoCalc, turn the orbits into Keplerian orbital elements and then continue as normal. If the visualisation is running very fast then we should regularly update the orbital elements.
Satellite orbits are currently circular and not inclined but of course in reality are elliptical and inclined. We could implement this by fully solving for the position of a Keplerian orbit but this would need a set of Keplerian orbital elements and their evolution in time. Alternatively we could correctly calculate the orbits and orientation/position of the planets using accurate ephemeris from the WebGeoCalc REST API. Each time the planet or time changes we would obtain the states of the current planet and satellites using WebGeoCalc, turn the orbits into Keplerian orbital elements and then continue as normal. If the visualisation is running very fast then we should regularly update the orbital elements.