Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions gaussRandom question

  • Dan Ebberts

    September 30, 2008 at 9:47 pm

    You can use poseterizeTime() to set a frame rate, or you can use seedRandom(seed,true) where “seed” is a variable you change whenever you want the value to change. This example will change once a second:

    seed = Math.floor(time);
    seedRandom(seed,true);
    gaussRandom(100);

    Dan

  • Jonas Espinoza

    September 30, 2008 at 10:30 pm

    thanks again dan!
    however, I have a few followup questions

    wont changing seed just make it pop to another value every second?

    is there any type of noise, kind of like a wiggle that evolves more than pops to another value for more organic movement? i guess im just into learning about what i can do with noise, since ive found noise to be super useful in C4D xpresso setups

    and what exactly does the math.floor element do?

    btw – am working my way through “learning processing’ its really helped me understand some more about how java works an an environment where i can see what i’m doing, but still reliant on code. good stuff

  • Dan Ebberts

    October 1, 2008 at 12:45 am

    Yes. If you want a smooth evolution, you’ll want to use wiggle() or noise().

    Math.floor() just rounds down to the nearest whole number.

    Dan

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