-
Animating arrows using trim paths
Hi guys,
I’ve recently been commissioned to create 40 animations illustrating various Physics related concepts – things like waves and electricity etc. Anyway, I’ve found myself having to create endless amounts of arrows and, since I took the approach of animating the arrows in the beginning I’m kind of stuck animating them now and boy does it take a lot of time. I’ve managed to keep my layer stack relatively clean by storing the arrows in a single shape layer and re-using them by setting hold keyframes on the individual content groups transform properties. Clear labeling allows me to quickly find what I want to animate but then, setting three sets of keyframes for each arrow is alitte bit time comsuming and it’s bothersome when I know there’s likely a way to automate it so that I will only have to set two keyframes on one property instead of 6 keyframes on three properties.
Each arrow is comprised of 3 lines – the main body of the arrow and two smaller lines to represent the arrow head. I’m using Trim Paths to animate the arrows (keyframing a total of 3 Trim Paths ‘end’ properties [0% -> 100%]) and what i’d like to learn, if any of you have the time, is how to …..
automate the trimming of the two smaller ‘head’ lines by applying an expression to the ‘end’ property of the Trim Paths function. I’d like these lines to trim automatically – beginning where the final keyframe of the Trim Paths ‘end’ property of the main body line has been set.
I also need to be able to define a length of time over which the automated Trim will take place. Begin able to control the animation of these arrows with two keyframes will save me a LOT of time and I’d really, really appreciate any help any of you could give me. Thanks for reading 🙂
