Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions randomize shulle mask key frames

  • randomize shulle mask key frames

    Posted by Gavin Mcdonald on May 13, 2011 at 7:37 pm

    Here’s the dilemma (and it’s a big one)
    I have a map made up of dots from illustrator and on that map some of the dots are highlighted which I’ve copied and pasted onto a solid over the map layer in after effects.
    I have animated the expansions of the 174 masks to grow out slightly larger than the dots they’re highlighting then come to rest on the original size.
    looks good but all the dots come on at the same time….
    How can i, is it possible to:
    A shuffle the keyframes over one frame in a sequence
    or completely randomize each mask key framed position a few frame forward or backward.
    This seems impossible to me.
    any help would be appreciated.

    G

    Gavin Mcdonald replied 14 years, 11 months ago 2 Members · 4 Replies
  • 4 Replies
  • Dan Ebberts

    May 13, 2011 at 11:56 pm

    I’m not sure exactly what you’re doing, but this example should randomize the timing of a keyframed animation by plus or minus .25 seconds. Just apply it to the keyframed property:

    maxDelay = .25;
    seedRandom(index,true);
    t = random(-maxDelay,maxDelay);
    valueAtTime(time- t);

    Dan

  • Gavin Mcdonald

    June 3, 2011 at 2:09 pm

    Hey Dan,
    I’ll try this out.
    Basically I have two key frames on a mask animating it’s expansion from negative to zero. this same mask layer is repeated about 200 times on each little dot they are all animating at the same time and I want to be able to grab all key frames and shuffle their timeline location a few frames forward or back up to a second or so.

  • Gavin Mcdonald

    June 3, 2011 at 2:15 pm

    That’s a great little tool and I will use it. But for this dilemma it’s not practical because it still means I have to apply it to each of the 170 masks. Know what I mean?

  • Gavin Mcdonald

    June 3, 2011 at 2:46 pm

    Okay Dan,
    Here’s something I didn’t know about COPY EXPRESSION ONLY!!!!
    using that in conjunction with you expression gave me exactly what I was looking for. Problem solved!! thank you, sir you’re a legend.

    Gavin

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