Closed AlphonseJr closed 7 years ago
I need the math formulae.
Considering that the image we use is https://github.com/Toolwatchapp/tw-common/blob/master/src/assets/images/clock-disque.png, what is the formula that gives the degree of rotation to apply to the disk accounting for the day it is.
Ping
Considering the image you gave, and since we should be displaying it TODAY exactly as it is, the formula is simply to rotate it clockwise of 12.41° each day!
@MathieuNls are you sure it is working properly?
Here is what I get :
Do you have the same? Thanks
My bad ! We should have a rotation of 6.101694915254° clockwise per day (if my new calculation is correct!) I have voluntarily added a lot of decimals as it will allow us to be more accurate without losing any degree after a (very) long period of time, feel free to cut if needed. Thanks !
Version: 0.8.0
Expected Behaviour
The display of the moonphase should match the one of the website or the watchville app :
Actual Behaviour
The current display of the moonphase doesn't seem to be accurate :
Steps to reproduce the actual behaviour
Thanks Hook!