v3!
Rewrite of the library using arbitrary-precision computations. In summary:
- All computations are using
decimal.js
for arbitrary-precision. Hence the output of every function is now aDecimal
instance. - Added numerous accessors for orbital elements of planets
- Fixed and improved all the coordinates accessors, making easy to grab heliocentric coordinates vs geocentric, apparent or not.
- Added transformation for topocentric coordinates.
- Added various times getters (apparent sidereal time, decimal year etc)
- Added (mean) Moon phases!
- Added tests across the library
- Improved the documentation that is now published in https://onekiloparsec.dev/aa-js