Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Randomly trim paths that continue out

  • Randomly trim paths that continue out

    Posted by Maya Rait on April 6, 2020 at 3:49 pm

    Currently, I have a trim path animation that ends all the paths at 100 and then stops. I need to adjust this so that the paths slow down as they near 100 and then continue crawling forward at a constant rate. Here’s what it looks like right now:

    Essentially, I’m struggling to find an expression that allows me to randomly trim paths and then have each path slow down and continue its trim at a constant rate (the way a LoopOut(“continue”) expression would do if there were keyframes). I need to use an expression because I’m trying to apply this action to ~500 lines.

    I added the code I’m currently using to trim the paths. Thank you!!

    minDur = 3;
    maxDur = 5;
    seedRandom(index,true);
    dur = random(minDur,maxDur);
    linear(time,0,dur,0,100)

    Maya Rait replied 6 years, 4 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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