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).
I am working on a moon phase app right now.
After that, I am planning to make a moon phase widget.
See Moonphase in my fork:
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