ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

trim paths velocity

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Peter Zeet
trim paths velocity
on Jan 12, 2017 at 12:26:01 am

Hi!
I'm trying to achieve this kind of trim lenght via expressions.



I'd usually link the start trim to a slider like this:
sl=effect("Slider Control")("Slider");
content("Group 1").content("Trim Paths 1").end-sl

and then animate the slider according to my needs manually, but I was wondering if there is a way to make it work via expressions? I guess it should be something related to the end trim's velocity and make the slider value go from 0 to lets say 1 depending on the max amount of the keyframe velocity?


Return to posts index

Kevin Camp
Re: trim paths velocity
on Jan 23, 2017 at 11:31:52 pm

assuming you animated the offset, applying this to the 'end' property should start to get you there:

content("Trim Paths 1").offset.speed * thisComp.frameDuration

Kevin Camp
Art Director
KCPQ, KZJO & KRCW


Return to posts index

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