Moon Phase. A new method

So glad you posted these. The arc method doesn’t actually work on watches. I think there is a bug anyway where on a watch inner radius of arcs are not changed by expression. Probably though, the expressions are just way to big. It easier to convert the few published faces to the squishy image method than try and work out a percentage scaled formula for each property on the arc.
It was definitely an interesting exercise though.

2 Likes

I am having a great deal of difficulty replicating the lower moon in your example. For example the square shapes do not position themselves as yours are - i have copied and pasted the tags in to mine and I have tried typing your tags and still the left and right squares position themselves differently, it’s almost like we have different scales. I am so frustrated and my last thoughts on this is to kindly ask if you would post the resources you used.

My efforts have not all been wasted though because I tried different art programs and learnt something new in each of them!

I have a Samsung galaxy gw5pro, I use Facer.io and the latest and greatest companion app.

I just had a thought - I maybe should start with a new blank template and only add the moon stuff to see what happens ( but your resources would still be appreciated)

2 Likes

I have successfully replicated it a few times using the below mask images and the following expressions, Just those that vary with moon size and position.

Mask In (Crescent)
Width: $#MOONAGEPERCENT#>=0.75?[Moon Radius/2]*(#MOONAGEPERCENT#*4-3)):[Moon Radius/2]*(1-4*#MOONAGEPERCENT#)$

Mask Out
Width: ([Moon Radius/2]*(clamp(3-4*#MOONAGEPERCENT#,0,1)-clamp(2-4*#MOONAGEPERCENT#,0,1)))

Mask Left:
XPos: ([MoonXPos - Moon Radius/2]+[Moon Radius/2]*clamp(1-4*#MOONAGEPERCENT#,-1,0))

Mask Right
XPos: ([MoonXPos + Moon Radius/2]+[Moon Radius/2]*clamp(3-4*#MOONAGEPERCENT#,0,1))

Mask In Image
BM 28  Mask-in
Mask Out Image
BM 28  Mask-out
Mask L/R Image
BM 28  Mask-square

Here is one of the ones could not have done without the example from @petruuccios, just for comparison. It has easier radius numbers, if not X/Y:

1 Like

I used various square images when experimenting, so I am not sure anymore, but I think those were 1x1 white tinted black stretched to 120x120, hard to see when I enter it here :sweat_smile:
1x1Blk
Then half circle and half cut-out with slightly blurred round edge. I stretched them a bit more in width so the new and full phases last tiny bit longer, which may not be true to celestial mechanics, same as the linear developement of the shade according phase % might be sometimes ahead sometimes behind actual shade.
HalfCircleMaskBlrBlk
HalfCircleCutMaskBlrBlk
And I used this moon template as example
Fullmoon
also white versions for tinting here:
1x1white
HalfCircleCutMaskBlr
HalfCircleMaskBlr

1 Like

I found it a bit easier if all the resources were on the same template .
I got a bit lost having made a new set on my cad as it makes a little transparent border round the Renders making the Square difficult to get right .
.



2 Likes

I had that. Had to fill pixel column 98 of 196 on the 2nd on mine.
I wanted the cropped ones because it makes the size maths easier if it is all the same diameter of the moon, even if the moon is a diameter/2 shape with no additional border.

1 Like

Here’s my finished watchface using the @petruuccios second method - it wasn’t easy to get it to work particularly as I had the half moon template white instead of black! Just in case you miss it - the hands go red at 16% battery
However here is my Blue Moon hybrid :

4 Likes

Nice. Nailed it.

2 Likes

@BIELITZ . Oh Yes . I think Peter has given us a new Standard . I love that it is continuous and very real. Love the Blue Moon .

2 Likes

I did not invent it, just remade it from what I have seen on some forum. Unfortunately I cant remember where, so I cant give right credit.

4 Likes

You brought it here, which deserves at least a tip of the hat good sir.

3 Likes

Yes . But you brought it here . Thanks so much .

3 Likes