Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity › Forums › Adobe After Effects Expressions › Static Random Number

  • Static Random Number

    Posted by Wim ja Bruyninckx on August 21, 2007 at 12:46 pm

    Hello,

    just a little question, there must be a simple solution:

    I know that you can generate a random number with for example:

    myValue = random(50) ;

    The problem is that this value changes every frame over the timeline.

    What i want is a static random number that is the same over the whole comp (timeLine) . How is this possible?

    Thanks in advance!

    Wim ja Bruyninckx replied 19 years, 1 month ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    August 21, 2007 at 2:07 pm

    seedRandom(index,true);
    myValue = random(50) ;

    Dan

  • Wim ja Bruyninckx

    August 22, 2007 at 4:14 am

    Thank you very much!

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