Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects random number generator expression

  • random number generator expression

    Posted by Ted Gore on February 10, 2006 at 3:20 am

    Hey, I need to generate a random number between certain values and have it stay. The random number expression does it every frame, and I can’t figure out how to make it only choose one value.

    Any suggestions? thanks

    Ted

    Seth Taylor replied 20 years, 2 months ago 2 Members · 1 Reply
  • 1 Reply
  • Seth Taylor

    February 10, 2006 at 7:43 pm

    Depending on how “random” you need it to be you could use a method like the one found in this tutorial.

    https://www.trapcode.com/in_action/particular_custom.html – around 7 min 30 seconds

    In a comp – set different numbers in different keyframes and then set that comp as the layer particle. Set the Time Sampling to be Random Still Frame.

    Hope this helps – I’m a fan of your work.

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