-
Method to Combine seedRandom() and random()
Hi everyone,
I’m using Dan Ebbert’s expression for creating a sequence of random edits that can be found here:
https://www.motionscript.com/mastering-expressions/random-3.htmlHere is my situation: I have two output comps that utilize this expression on two precomps (one precomp in each output comp). Those two precomps have the same footage with different color passes on them.
How can I paste this expression on each precomp so that they start with the same frame for each precomp and follow the same random seed?
From what I can deduce in the script, this would be a matter of locking the random seed of startVal, but I don’t know how to do this. I need to preserve the min/max value of “random()” but I need to lock the seed as in “seedRandom”.
Another way to produce this result would be to simply option-replace the precomps in one of the output comps, but I want to try to do this with code and have multiple output comps for each precomp.
I know this is a lot of info, but I really appreciate your help.
Thanks in advance!