Hacker News new | ask | show | jobs
Show HN: MoonLocator – Astronomical library for moon calculations in Java (github.com)
1 points by tenahu 130 days ago
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!