Moon Phase Illumination Percent

I had a formula Based on [MOON_PO] that gave me Illumination Percent for each Moon phase step . I made it some time ago and realised with more testing and a little more experience with the maths that it was wrong . Because it was Liner it was only correct on four Occasions in the Lunar Month .
I have been working on a non liner one based on Sin / Rad . I think it is is Pretty good . I am sure there are masters that can improve it . I know there are Wobbles in the cosmic Bodies but near enough is good enough sometimes .

.

(numberFormat("#.#",(50+((sin(rad((((([MOON_PO])/28))*360)-90)))*50))))
.

1 Like

Hi @russellcresser, could you try this one:

numberFormat("#.#",(50+(sin(rad((((([MOON_PO]/29.53058867)*360)-180))))*50)))

1 Like

Thing is [MOON_PO] reports 0 to 28 .

thats true, didnt check that :confused:

1 Like

Yeah it is a strange one . But it suits me as I have 28 moon phase images . I made that Desision working on Facer . So we have symmetry round the Quarters . I was working with 32 but that felt exesive and 24 felt a bit mean . A tiny bit over a day for each image .
I decided making 29.53 images was not going to work . :+1::grinning::joy::rofl:
BTW Thank you @adrianrogalski for even looking at it .

1 Like

Here is a more grown up version of the formula with the parts in the correct order . Thanks to @Peter . Every day can be a Learning Day .
.

(numberFormat("#.#",(50+50*sin(rad([MOON_PO]*360/28-90)))))

1 Like