UNPKG

keplerjs

Version:

Kepler solver to compute a celestial body position over the surface of the earth.

21 lines (16 loc) 256 B
/** * Astrodynamics | Kepler Solver * Author: Edgar Gago Carrillo * Date 16/03/2021 * * Inputs: * variable in rad * * Outputs: * x but in degrees * * Description: * From degrees to rad * */ exports.rad2deg = (x) => x / Math.PI * 180;