@interstellar-tools/equations
v1.0.0
Published
Curated, well-tested orbital mechanics and dynamics formulas (e.g., Newtonian gravity, vis-viva, Kepler's 3rd law, escape/circular speeds, specific energy, specific angular momentum, peri/apoapsis radii).
Downloads
4,799
Maintainers
Keywords
Readme
@interstellar-tools/equations
Curated, tested orbital mechanics and dynamics formulas: Newtonian gravity, vis-viva, Kepler’s third law, Kepler’s equation solvers, anomaly conversions, Hohmann transfers, rocket equation, J2 perturbations and more. SI units in, SI units out, with clear errors for invalid input.
Documentation
The full documentation lives at phun-ky.net/interstellar-tools:
- Getting started: installation, unit conventions and recommended practices
- API reference for
@interstellar-tools/equations: every export, with formulas, parameters and examples
Installation
- Node.js version 22.9.0 or higher
npm i --save @interstellar-tools/equations::: warning
These equations have not YET been battle-tested or tested to real world mechanics, YMMV!
:::
