Show HN: MoonLocator – Astronomical library for moon calculations in Java

  • Posted 3 hours ago by tenahu
  • 1 points
https://github.com/dgrims3/MoonLocatorLibrary
I extracted the lunar calculations from my Android app Lunar Locator into a standalone Java library.

The equations are from Jean Meeus' "Astronomical Algorithms." Given a time and location, it calculates relative lunar positions, rise/set times, distance, illumination, and more.

Available on Maven Central (Java 17+): https://github.com/dgrims3/MoonLocatorLibrary

Happy to answer questions!

0 comments