creating moon phases using Path
This looks great. Any chance you can share how you did this?
Iβm a new member, so I canβt upload files yet. Instead, Iβll just share the path values.
I divided it into a left semicircle and a right semicircle. It might look a bit rough, but I hope youβll take a good look at it!
right shadow :
M 50 0 A $if(gv(λ¬λμ΄)<16,0,50)$ 50 0 0 1 50 100 M 50 100 A $if(gv(λ¬λμ΄)<7.5,50/7*(7-gv(λ¬λμ΄)),if(gv(λ¬λμ΄)>15,50/7*(7-(gv(λ¬λμ΄)-15)),0))$ 50 0 0 0 50 0
left shadow:
M 50 0 A $if(gv(λ¬λμ΄)>22.5,50/7*(gv(λ¬λμ΄)-22),50)$ 50 0 0 1 50 100 M 50 100 A $if(gv(λ¬λμ΄)>7.5 & gv(λ¬λμ΄)<=15,50/8*(gv(λ¬λμ΄)-7),if(gv(λ¬λμ΄)>15 & gv(λ¬λμ΄)<22.5,50,0))$ 50 0 0 0 50 0
gv(λ¬λμ΄) is same βai(mage)β
Awesome! Thank you for sharing this.
I had made a moon phase widget using a circle as mask and moving the circle from left to right based on moonage.