Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Shape Trim Path matching Line Rotation?

  • Dan Ebberts

    May 29, 2013 at 9:15 pm

    It should just be some form of this:

    tp = thisComp.layer(“Shape Layer 1”).content(“Ellipse 1”).content(“Trim Paths 1”).end;
    linear(tp,0,100,0,360)

    Depending on how you have it set up might need to add the result to (or subtract it from) some offset angle.

    Dan

  • Navarro Parker

    May 29, 2013 at 10:14 pm

    I see… so it’s like a range mapper! Cool.

    If I needed to reverse the process (I forgot I had the rotation already pickwhipped to a null), would it look like:

    tp = *pickwhip rotation*
    linear(tp,0,360,0,100)

  • Dan Ebberts

    May 29, 2013 at 10:19 pm

    That sounds right (again, depending on how you have it set up).

    Dan

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