Who says progress bar can't be fun? How about adding some light to it?
With 10 moons + 2 incremental, every 5%
change will give you a moon phase update.
<aside>
💡 As slice()
may not work with emojis well, you can use numbers to mimic the progress bar and then use replaceALL()
to change them into the emojis you like.
I'm using 5
and 0
. They can be replaced with any other numbers or alphabets, but symbols are not recommended ⚠️.
</aside>
replaceAll(slice("5555555555", 0, floor(prop("Progress") * 10)), "5", "🌕")
(prop("Progress") * 10 > floor(prop("Progress") * 10)) ? "🌗" : ""
replaceAll(slice("0000000000", 0, 10 - ceil(prop("Progress") * 10)), "0", "🌑")
Every 2.5%
change will trigger a moon phase update!!
Examples