Hello guys I’ve created a font with 32 moon phase characters and I was going to create a formula to show the correct illumination level. However.. it proved to be a little too complicated for me. I kind of know what the formula should look like but putting it together is really something else.
I was thinking a combination of moon phase code $ai(mphasec)$ and illumination percentage $ai(mill)$..?
Below is a link to the ttf file and a simple character reference widget in case some kind person has the time and feels like helping me out with this!
Hi. You can map all 32 characters of your font into a single string and use the moon phase index ($ai(mage)$) to slice out the exact letter instantly. Try this formula for test in your text element:
If everything matches and works correctly, just create a Text Global variable (let’s call it moon), paste your full 32-character alphabet string into it, and use this formula in your text element $tc(cut, gv(moon), ai(mage), 1)$