One of the standard books of algorithms for astronomical calculations is the book Astronomical Algorithms by Jean Meeus. This book was first published in 1991, and is considered on of the references. It covers everything from celestial coordinate conversions, planetary positions, calendar conversions, binary star positions, eclipses, conjunctions, and much, much more.
I made extensive use of the algorithms in the book when I was busy implementing Night Sky Tools, a comprehensive astronomy app on Android, using Java. I no longer mantain that app, having sold it, but still find astronomical calculations fascinating.
This library is a translation of meeus from Go to Javascript and containsselected algorithms from the book "Astronomical Algorithms" by Jean Meeus,following the second edition, copyright 1998, with corrections as ofAugust 10, 2009.
582128177f