can someone please share a moon phase calculation based on home position, time and timezone or what ever is needed to calc the phase.
Have done some moons for this phases base on drawing circles and ellipses
quick googling brought up this: moon phase calculation code in JS on GitHub
Although the calcalution including example here seems easier and smaller to be done in code.
And according to this page time and timezone do not really impact the moon phase because the moon changes ever so slightly during the course of a whole month.
Although you might have to rotate the images depending on your latitude (northern/southern hemisphere).
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem