- April 7, 2021 at 9:39 am
I am trying to animate a long string of numbers around a tight Archimedean spiral mask path by using this expression I found…
rate = 100; // characters per second
txt = “31415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602……..and on and on”;
The path is set to “reverse” with text aligned right so the numbers appear at the centre and fill the spiral.
This works, but the text disappears once it fills just over half the spiral. See attached or here: https://postimg.cc/gallery/QXCdvxg.
Is there any way I can fix this so the numbers can keep filling the spiral?
Appreciate any help.
- April 7, 2021 at 1:51 pm
I’ve recreated your comp using the expression and a very quick mask of my own and it’s working. I can’t tell from your screen shots, but it might be something to do with the First and Last margins – although I couldn’t recreate the issue.
Did you create your text layer by directly typing or did you draw a text box? A text box is screwing it up for me.
- April 7, 2021 at 2:54 pm
Thanks for replying.
My first and last margins are set to 0.0 and I haven’t used a text box – I rechecked the the text layer is set as point text and not a paragraph
The expression works for me, but all the text disappears once a certain number of characters have appeared on the spiral:
I’ve attached my test file too.
I would be grateful if anyone can tell me which setting I need to change to get this working.
Log in to reply.