Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Using randomSeed() to create reproducible randomness

  • Using randomSeed() to create reproducible randomness

  • James Schramm

    July 22, 2021 at 1:32 pm

    I’d like to use random values that are reproducible from one comp to another. Is this not possible? I thought using randomSeed() was the way to achieve this, perhaps I am misunderstanding how it works. Here is an example below of identical code producing different results for the scale property for a duplicated comp.

    seedRandom(3, timeless = true);

    s = random(50, 100);

    [s,s]

  • James Schramm

    July 22, 2021 at 5:41 pm

    I realize I erroneously said “randomSeed()” many times when it is actually “seedRandom()” sorry for the confusion. I had that line correct in the code as pictured though.

Viewing 1 - 2 of 2 posts

Log in to reply.

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