MoonPhase calculation for a moon phase widget

Posted on
  • Hi,

    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

    2 Attachments

    • Bildschirmfoto 2020-03-09 um 16.07.50.jpg
    • Bildschirmfoto 2020-03-09 um 16.00.38.jpg
  • 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).

  • 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:Ā­Apps/index.html#

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview

MoonPhase calculation for a moon phase widget

Posted by Avatar for MaBe @MaBe