Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Randomly loop through 0-9 and stop at a given number

Tagged: 

  • Randomly loop through 0-9 and stop at a given number

    Posted by Suneth Jayalath on October 6, 2021 at 9:17 pm

    I have very little knowledge about AE and following is my requirement.

    I want to randomly loop through 0-9 for 10 seconds and stop at a number I decide and I want to do this for a 6 digit number.

    ex: Say the number I want to display is 645237. What should happen is in the beginning all 6 digits start to display random numbers and after 10 seconds left most number stops at 6 and others continue to randomly display numbers. after next 10 seconds (total 20 seconds from the start) 2nd digit from the left should stop at 4 etc..

    I checked few YT tutorials which use slider / rotation method and they are generating 2-3 digits or even larger numbers instead of looping through 0-9.

    I also tried a tutorial which shows type 0-9 vertically and then using masking to only display one number but looks like I have to vertically type 0-9 may be 100s of time to rotate it at a reasonable speed for 10 seconds.

    Is this a fairly simple thing to do or does it require expert level knowledge? If it is a fairly simple can some one please guide?

    Thanks in advance.

    Patrice Wisniewsky replied 4 years, 6 months ago 2 Members · 1 Reply
  • 1 Reply
  • Patrice Wisniewsky

    October 19, 2021 at 5:16 pm

    I would create an text layer and add an Character Offset Animator.

    Set the Start Range Selector to 6.

    Animate the End Range Selector starting with 0 to 6 and toggle hold the keyframes

    apply an Expression to Character Offset and type

    time*10

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