Skip to content

v3!

Compare
Choose a tag to compare
@onekiloparsec onekiloparsec released this 03 Nov 08:03
· 278 commits to master since this release

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 a Decimal 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