Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions random starting time

  • random starting time

    Posted by Rikard Lassenius on March 20, 2009 at 1:09 pm

    hi, been hitting my head against for while + reading every possible forum aswell. but i can’t figure this out…

    have an animation with a cherry tree, and want to animate the flowers popping out in bloom. did the animation in a null layer (just a short “boioing!”-kind of scaling thing) and wanted to have that on all layers.
    thats no prob, of course. but how to write an expression that makes the flowers pop up randomly, whithin some limits?

    (i’m running AE CS3 on a Mac)

    thanks,

    Rikard

    Dan Ebberts replied 17 years, 1 month ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    March 20, 2009 at 6:40 pm

    Probably something like this:

    minDelay = 0;
    maxDelay = 2;
    seedRandom(index,true);
    delay = random(minDelay,maxDelay);
    thisComp.layer(“Null 1”).transform.scale.valueAtTime(time-delay)

    Dan

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