Moon Position and Phase

Information about this project:
Last updated: 1/21/2019
This is an extension of the Moon Phase Gadget that I wrote a billion or so years ago. The version that's running here is actually just included as a companion to the main program, mostly so you can advance through the days.

My thinking was, it's neat to see what the moon looks like at any given time. But why is it visible during the day at such odd times? It's not like I don't know the answer to that question. But it got me thinking that a graphical reference would be kind of cool. So what this program does, is reuse the code that identifies what the moon phase is, and uses that to determine its position. As a bonus, the rotation of the earth (based on the hour) is correct as well, so you can tell WHY the moon looks the way at does at any given time.

This entire project is available as a single app for Android, including a desktop widget.
This project is also available as an iPhone app, but without the widget. iPhone's don't do that.

It should be noted that this is not even remotely to scale. The relative sizes of the earth and the moon are pretty close. But the distance is necessarily shortened. The moon is actually a helluva lot farther away. See?

moonwiki
Earth and Moon, showing their sizes and distance to scale. The yellow bar represents a pulse of light traveling
from Earth to Moon (approx. 400,000 km or 250,000 mi) in 1.26 seconds.

And the sun? Pfft... It would be impossible to add that to scale. The graphic is just there to give an idea where the light source is.

As an added bonues. I combined a new JavaScript Calendar generator that I made, with the functions that make the Moon Phase Clock work. I've even added in some special graphics for things like eclipses and blue moons.
So, in case your are interested in a full-month view of all moon events, here you go...

minus
plus
N Hemisphere
S Hemisphere
fbshare
bottom corner