New answers tagged

3

Review Orbit You are incorrectly calculating the position of the planet. The eccentric anomaly which you attempt to calculate with a linear, integrated 2nd derivative, in the function this.updateTheta will never work as the solution in non linear. That said the example below uses a linear approximation. There is no easy way to change your code such that time ...


Top 50 recent answers are included