ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Change random value on each preview

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Bob Dune
Change random value on each preview
on Jul 29, 2020 at 1:05:56 am

Hi everybody,

How can I change this expression to get different values on each preview/render ?

Thanks for your help !

random(9)


Return to posts index

Filip Vandueren
Re: Change random value on each preview
on Jul 29, 2020 at 12:36:44 pm

While After Effects is purposefully built to get repeatable pseudo-random numbers (because, you want to render what you see in your viewport, even if you open up the project on another day, on another computer,…) this would re-seed everytime you purge your cache:


seedRandom(Date.now());
random(9);




Return to posts index

Bob Dune
Re: Change random value on each preview
on Jul 29, 2020 at 6:09:37 pm

Thanks Filip !


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 CreativeCOW.net All Rights Reserved
[TOP]