Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions randomize text but leaving out numbers

  • randomize text but leaving out numbers

    Posted by Christoph Smaid on August 18, 2008 at 8:18 pm

    hey guys,

    is it possible to create a simple random text without numbers? i have a text layer with one letter and want to randomize this letter so that every frame there is another letter but no number. so i have to say my expression that it should leave out numbers and only take letters, but how?

    thanks, chris

    Greg Digenti replied 17 years, 9 months ago 3 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    August 18, 2008 at 9:01 pm

    You could create your own set of random characters like this:

    charSet = “abcdefghijklmnopqrstuvwxyz”;
    charSet[Math.floor(random(charSet.length))]

    Dan

  • Christoph Smaid

    August 18, 2008 at 9:29 pm

    thanks, thats great.

  • Greg Digenti

    August 22, 2008 at 8:36 am

    You could add the Animation>Animate Text>Character Offset animator to the layer and add this expression to the Character Offset property:

    random(26)

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