Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Trim path end with set value + wiggle?

  • Trim path end with set value + wiggle?

    Posted by Johannes Tönne on February 13, 2021 at 7:35 pm

    Hi there,

    i am trying to add a wiggle to the end value of a trim path, which is connected to the start value. So, basically what i want to do for the trim end is:

    – take the start value of the trim – add 10% – add ad wiggle

    adding the 10% is easy of course (i just pickwhipped the start value, then typed “+10”). But how do i add the wiggle on top?

    Thank you in advance.

    best regards

    johannes

    Johannes Tönne replied 5 years, 3 months ago 2 Members · 2 Replies
  • 2 Replies
  • Filip Vandueren

    February 13, 2021 at 9:01 pm

    You could do this:

    w=wiggle(2,10) - value;
    trimStart + 10 + w; // pseudocode

    By subtracting the original “value” from wiggle() you get just the relative randomization which you can then add to any other calculation.

  • Johannes Tönne

    February 14, 2021 at 12:34 pm

    Thank you, -value did the trick.

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