ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: control path length using expressions

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Alex Printz
Re: control path length using expressions
on Sep 6, 2019 at 8:49:54 pm

I have built a trim paths expression to do this in the past.

IIRC, you need to make a slider to set the 'full' length, then create a loop that measures the distances between pointOnPaths on a spline and adds them together, compares that to the 'full' length, and if the current spline is measured longer than that trim that percentage. I used a 2nd slider to set the number of points to compare (I think I liked around 12 or so, not too many to bog the system, not too few to look choppy)

It worked well for what I needed to do (swinging rope I think?)

Alex Printz
Mograph Designer


Posts IndexRead Thread 


Current Message Thread:





© 2019 CreativeCOW.net All Rights Reserved
[TOP]