Github link to the code, fair warning, the formatting was adapted from another scriptable and is pretty hard coded so it may be difficult to adapt. I am planning on fixing this at some point but don't hold your breath.
The battery circle is drawn using the addCurve method which uses cubic bezier curves. I can try to find the paper where I learned how to use them if anyone is interested but I have already seen a more elegant way to achieve the battery circle.
So the way I have the weather gives the same information visually rather than in text. The numbers at the bottom are the low and high for the day and the top number is the most recent measurement from the closest weather station and the icon changes according to the current weather as well
Personally I find this looks cleaner than having it typed out
4
u/Beastly_j20 Oct 20 '20
https://github.com/JFSullivan20/WelcomeWidget
Github link to the code, fair warning, the formatting was adapted from another scriptable and is pretty hard coded so it may be difficult to adapt. I am planning on fixing this at some point but don't hold your breath.
The battery circle is drawn using the addCurve method which uses cubic bezier curves. I can try to find the paper where I learned how to use them if anyone is interested but I have already seen a more elegant way to achieve the battery circle.
2
u/notklgamer Oct 20 '20
İs that battert over your photo
2
u/phoenix_73 Oct 20 '20
I'm liking this one, please can you share code? Also would you know about changing date format at all? Preferably to a UK date format.
1
u/Tom42-59 Oct 22 '20
What does it mean, ‘no more zero days’?
1
u/mvan231 script/widget helper Oct 20 '20
Please share the code. I'm very curious about the way you made that battery meter
0
u/[deleted] Oct 20 '20
[deleted] — view deleted comment
0
u/[deleted] Oct 20 '20
[deleted] — view deleted comment