It looks like Astro::MoonPhase already has most of what you are asking for.
In reply to Re: Question about Astro::Coord::ECI::Moon and "phase"
by Lotus1
in thread Question about Astro::Coord::ECI::Moon and "phase"
by Cody Fendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |