Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Slow down randomly generated value

  • Slow down randomly generated value

    Posted by William Sticht on May 22, 2008 at 4:20 pm

    Is there a way to slow down a randomly generated expression value? I have added a simply random expression to my blur size that ranges between 6 and 8 pixels. As you know the value is recalculated every frame. Is there a way for me to recalc at a different rate? Thanks for your help.

    Fritz

    William Sticht replied 17 years, 11 months ago 3 Members · 3 Replies
  • 3 Replies
  • Mike Clasby

    May 22, 2008 at 5:16 pm

    I think this page is what you want. Dan introduces hold time to a random expression (with seed random, true):

    https://www.motionscript.com/mastering-expressions/random-1.html

    He gives many variations, methinks one will do the trick. There are four page of randomness, a tour-de-force.

  • Allen Ellis

    May 22, 2008 at 9:00 pm

    Also consider using wiggle() instead. If you want it to blur between 6 and 8, then set the blur value to 7, and then add this expression:

    wiggle(1,1)

    The first argument is the speed of the change, in this case: 1 time per second. The second argument is the amount of change, in this case: 1. So it will randomly raise or decrease up to 1 amount (maximum 8, minimum 6).

  • William Sticht

    May 23, 2008 at 2:50 pm

    Thanks to both for your suggestions. i tried adding a wiggle and but was receiving errors. Perhaps my values were out of range. I will try this again. Thanks again.

    Fritz

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