A simple and free astronomy library for calculating moon phases.
A simple (and free) astronomy library for calculating moon phase, solar eclipses, etc. This is intended to be used as a library within other projects, thus the list of dependencies will remain as small as possible.
Initial code based on the book Practical Astronomy with your Calculator by Peter Duffett-Smith. (If there are errors in the output it is due to my implementation and not because of that text.) The next book I plan to purchase is Practical Astronomy with Your Calculator or Spreadsheet by the same author.
NOTE: additional collaborators welcome
Find dates for Moon Phases
- full moon
- new moon
- first quarter
- last quarter
For a brief page on how to use this library, read the Getting Started page
- Minimize number of dependencies (useful for mobile device usage)
- Automated unit test coverage of more than 75% of code
- Accuracy to within 5 minutes (currently +/-15 minutes)
- Sunrise / Sunset
- Rising and setting of other celestial objects
- Solar Eclipse - find date of next solar eclipse
- Lunar Eclipse - find date of next lunar eclipse
- Find location of sun or moon (right ascension, declination)
move the "Getting Started" example to GitHubInitial code commit before April 1, 2011DONE!Decent documentation on usage before June 30, 2011- Jenkins CI builds (Q2 2015)