ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

control path length using expressions

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Tom Morton
control path length using expressions
on Aug 16, 2018 at 10:20:29 am

Hello, I'm a bit new to expressions (yeah same old story, beginners trying their luck!) I can work fine with expressions, but I want to control the length of a path. I can control anchor point, position, etc easily, but not sure how path length is selected in an expression? Is it a length or does a path run between two points?

Cheers, Tom


Return to posts index

Dan Ebberts
Re: control path length using expressions
on Aug 16, 2018 at 4:15:00 pm

You have to redefine the path, using createPath(v,iT,oT,c), specifying matrices of vertices, in tangents, and out tangents, as well as a boolean flag specifying whether the path is closed or not.

Dan



Return to posts index

Tom Morton
Re: control path length using expressions
on Aug 21, 2018 at 7:46:31 am

Thanks Dan, that sounds like what I'm looking for. Are the any good tutorials / explanations online showing how to format that expression correctly? I can't use trim paths because the length of the path will change and I can't get it accurate enough.

Regards,

Tom Morton | Digital Everything

If it can be automated, let the computer take the load. Creativity leads creativity.


Return to posts index


Kalleheikki Kannisto
Re: control path length using expressions
on Aug 18, 2018 at 8:06:30 am

If you just need to draw a part of the path, you can use trim paths to limit the stroke to a percentage of the path.

Kalleheikki Kannisto
Senior Graphic Designer


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]