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).
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi there,
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).