Skip to main content
New Participant
August 28, 2023
Question

a Simple monospaced font animator

  • August 28, 2023
  • 2 replies
  • 489 views

Hello everyone,

 

in the past days i have been searching a solution to create an animated monospaced number in after effects without using an actual monospaced font like the courier.

Although there are various solutions i have found a solution that is suitable for me and i'd like to share this.

For the people who want to dive in immediately there is a download of the project file available.

 

1. create a vertical text layer.

2. connect a slider effect to the textSource.

3. set two keyframes on the slider with a start number and an endnumber

4. add a positon animator to the textlayer ;

5. delete the range selector

6 add an expression selector

7 in in amount property of the expression selector fill in : "textIndex-1;" in the expression field.

8 in the expression field of the position property of the animator fill in :

x=text.animator("Animator 1").property.position[0];

fs=text.sourceText.style.fontSize;

[x*100,-fs*100];

 

done.

This topic has been closed for replies.

2 replies

AD videoAuthor
New Participant
August 29, 2023

in reply to my own post i'll uploaded a finished (at least i hope so) version of my monospaced font for after effects. 

The project has grown over the last days into something useable which can also be used with essential panel.

ironicly i almost ended up here asking for help myself from the after effects communivty for this project.

In the first post there is some kins of weirdness going on with the text flipping back to vertical, which could be a bug?

anyways, lets hope this is an errorfree file this time.

unfortunately i can not delete the posts i made before.

ShiveringCactus
Community Expert
August 28, 2023

Thank you for sharing.  It's always great to hear about people struggling, finding a solution and then making sure no one else has to struggle.

When you say monospaced animator - I take it you've created a way for a character to change in place without needing it to be a monospace font, is that right?  It's not quite working for me, I get a vertical string of characters, which then change horizontally before snapping back to vertical.  That happens if I use a round number.  If I use a decimal, they are always vertical.

 

When the first keyframe is 10:

When its 11.5

AD videoAuthor
New Participant
August 28, 2023

After testing a little bit further, stumbled upon the error you describe. I feel i rushed it a little bit in sharing this.

Another aproach is on the way. should take another day or so to tweak. but maybe i can help you out with this W.I.P. in the attachment

 

Maarten