@blogmywiki: I can confirm the difference of the rendered phases with the visual moon.
Nevertheless I can confirm the the calculation itself seems correct as also @Andreas_Rozek tested.
From my point of view:
It's hard to render a -always correct- circle view projection within 23 px
Typically a moon projection shows als the full circle; but see 1. with a doted 1px line ... I don't expect to be more precise for our eyes
I guess using the same code (moonphase calculation) in more than one app/widget or the cool overlays that @Andreas_Rozek provides (e.g. a module) would be very helpfull
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.
@blogmywiki: I can confirm the difference of the rendered phases with the visual moon.
Nevertheless I can confirm the the calculation itself seems correct as also @Andreas_Rozek tested.
From my point of view: