Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Random jumps in time

  • Random jumps in time

    Posted by Martin Löfqvist on April 25, 2008 at 9:41 am

    Hi,

    wondering:

    Is there a way to random jump cut a clip in time? i.e:

    Doing a composition with a shape that changes every say… 5 sec.
    Nesting that comp and making a couple of duplicates.
    Is there any way to make random jumps in time at every duplicate here? (Like saying: go to frame XX stay there for 4 sec and then go to frame XX and stay there for 4 sec…)

    Is this understandable? 🙂

    Martin Löfqvist replied 18 years ago 2 Members · 2 Replies
  • 2 Replies
  • Lloyd Alvarez

    April 25, 2008 at 1:01 pm

    You will need to turn on Time Remapping and apply this expression:

    holdTime=30; //# of frames to hold for

    k1=key(1).time * (1.0 / thisComp.frameDuration);
    k2=key(2).time * (1.0 / thisComp.frameDuration);
    posterizeTime((1/thisComp.frameDuration)/holdTime);
    r=random(k1, k2);
    framesToTime(r, fps = 1 / thisComp.frameDuration);

    -Lloyd

    https://aescripts.com

  • Martin Löfqvist

    April 25, 2008 at 2:17 pm

    Thanks a million, this is exactly what I’m looking for.

    Have a great friday
    /M

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