1.0.2 • Published 3 years ago

phyastra v1.0.2

Weekly downloads
5
License
MIT
Repository
github
Last release
3 years ago

PhyAstra

Physics library for Astra Solaris Project

Installation

npm i phyastra

Usage

import * as PA from 'phyastra';

Available methods

  • GetPlanetPosition(OrbitalParameters, t)

Gives the position array [x, y, z] of the planet in universal space from keplerian orbital elements.

ArgumentDescription
OrbitalParametersJSON object with keplerian elements of the orbit.
tJulian date and time