Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Random Character Font Style

  • Random Character Font Style

    Posted by Nate Hess on October 6, 2020 at 8:38 pm

    I am attempting to enable an expression that lets me randomly (from a preselected set of fonts) change the character style/font. I have the expression set to cycle between a couple different styles of the same font, but I wanted it to randomly change by character and not the entire text. Each letter of the word will randomly flip through a font in no particular order.

    Here is the current expression that I’m working with…based on an expression I pulled from a tutorial. Any help is much appreciated!

    var Array = [

    “CROOKED-Bold”,

    “CROOKED-Regular”,

    ];

    hold = 0.09;

    seed = Math.floor(time/hold);

    seedRandom(seed,true);

    r = Math.round(random(1));

    style.setFont(Array[r]);

    Graham Quince replied 5 years, 9 months ago 2 Members · 1 Reply
  • 1 Reply
  • Graham Quince

    October 17, 2020 at 7:21 am

    Unfortunately, After Effects doesn’t have the ability to change per character styling via expressions – it’s all the text or nothing.

    You could fake randomness by creating sourcetext keyframes with lots of different changes, then use an expression to randomly choose a keyframe (I think that is doable) or you could use precomps for each letter, with each frame being a different font, then use time remapping to randomly select the frame. And with Essential Graphics, you’d only have to make one precomp.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy