Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions random number generator expression

  • random number generator expression

    Posted by Ted Gore on February 10, 2006 at 4:00 am

    Hey, I need to generate a random number between certain values and have it stay. The random number expression does it every frame, and I can’t figure out how to make it only choose one value.

    Any suggestions? thanks

    Ted

    Joe Chao replied 20 years, 2 months ago 3 Members · 2 Replies
  • 2 Replies
  • Aanarav Sareen

    February 10, 2006 at 4:51 am

    Wow! Lots of posts on the same topic….Something weird is going on at the COW.

  • Joe Chao

    February 10, 2006 at 8:32 am

    Try this:
    seedRandom(seed, timeless = true);// input a number for “seed”
    random(min,max)

    In this expression,”timeless=true” is responsible for the function you needed.

    ****************************
    I love After effects!

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