Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Random Time Stretch

  • Random Time Stretch

    Posted by Al Johnson on September 12, 2008 at 9:22 pm

    I’m new to expressions in After Effects but lately it seems like the things I want to do would be made much more simple with expressions, so I’ve been trying to pick this up. Anyway, what I want is an expression to randomly time stretch a layer but within certain parameters. So, for instance, I have 20 layers and I want each of them to run at a different speed between 80% and 120%. Is there a good expression to do this or should I just manually adjust them?

    Al Johnson replied 17 years, 8 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    September 12, 2008 at 10:33 pm

    This Time Remapping expression should do it:

    minSpeed = 80;
    maxSpeed = 120;
    seedRandom(index,true);
    time*(random(minSpeed,maxSpeed)/100)

    Dan

  • Al Johnson

    September 12, 2008 at 10:44 pm

    Great, thanks.

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