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


Andy Engelkemier
Re: control path length using expressions
on Sep 6, 2019 at 5:31:17 pm

So I Think this works? But I'd like to double check on my understanding on what is going on. Too bad they don't just give you access to the arc length they refer to in the help file.

the PointOnPath command is giving you a point at a specific percentage of the total arc length at the current time (being only relevant if the length of the path changes over time?).
So you are getting a VERY small sample of the length based on percentage in order to solve for the path being not straight.

So it looks like you're getting the length of 2 points on the path, at 0%, and .001%.


I plugged that into a slider control on two paths, and that does match the percentages that I changed it based on my total length measurements in illustrator, so that will definitely work. I just wanted to be sure I understood correctly.

Length will only give you the distance between two points in a straight line, correct? I assume that's why you used an incredibly small distance.


Posts IndexRead Thread 


Current Message Thread:





© 2019 CreativeCOW.net All Rights Reserved
[TOP]