Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Smooth Random number count down and up

  • Smooth Random number count down and up

    Posted by Camp Pete on August 26, 2005 at 4:06 pm


    I’m trying to use expressions to create a random number countdown, (it’s to be used offsetting a strokes animation on the screen) basically I need to go up or down from the previous number to the next number, but not jump to this number, the value needs to climb or descend…

    God I’ve gone cross-eyed just trying to word that, if you understood and could help… greatly appreciated.


    Dan Ebberts
    replied 18 years, 9 months ago
    2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    August 26, 2005 at 5:21 pm

    How about just using the wiggle expression?

    First set the value of the parameter to the middle of the range you want and then add an expression like this:

    freq = 1.0; //frequency = once per second
    amp = 20; // amplitude = -20 to +20

    If, for example, you set the value of your parameter to 60 and then added the above expression, your parameter would vary between 40 and 80.


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