Creative Communities of the World Forums

The peer to peer support community for media production professionals.

  • Posted by Eric Sampson on April 6, 2005 at 6:27 am

    I want the opacity of my layer to randomly change. I wrote: random(70,95)

    But now I would like the flickering to occur not so fast. I want it a little slower. Can someone help me out with what I need to enter to slow down the speed of the flickering? Thanks!

    Mike Clasby replied 19 years, 6 months ago 3 Members · 2 Replies
  • 2 Replies
  • John Dickinson

    April 6, 2005 at 6:38 am

    Try this:

    n=5; //change every 5 frames
    seed=Math.floor(time/(this_comp.frame_duration*n))+1;seed_random(seed,true);
    random(70,95)

  • Mike Clasby

    April 6, 2005 at 7:14 am

    Or you could do something like this:

    Since you want to vary the opacity from 70 to 95, set a keyframe for opacity at 82.5 (splits the difference), then add a wiggle expression:

    wiggle(5, 12.5)

    then adjust the frequency (5) to suit your needs.

    It’s a bit different, but eminently tweakable.

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