Physics library for Astra Solaris Project
npm i phyastra
import * as PA from 'phyastra';
GetPlanetPosition(OrbitalParameters, t)
Gives the position array [x, y, z]
of the planet in universal space from keplerian orbital elements.
Argument | Description |
---|---|
OrbitalParameters | JSON object with keplerian elements of the orbit. |
t | Julian date and time |