Join Chris Meyer for an in-depth discussion in this video Animating a line, part of After Effects Apprentice 14: Shape Layers.
- View Offline
Now that we have our stroked path that goes along the course of this map,…we'd like to animate this map path in some way.…There's a couple of ways of doing that.…One, the Dashes parameter inside Stroke has a parameter called Offset.…Scrubbing or animating this parameter will move your dashes along your line.…Notice that scrubbing towards the right makes my line go towards the right.…If I want to reverse the direction of my path, I go up to Path, click the…Reverse Direction, and now scrubbing a positive Offset will cause it to animate…in the opposite direction.…
And you can do that with any shapes.…All paths do have this Reverse Direction switch.…The second approach is to use a shape effect that we saw earlier, Trim Path, to…actually animate entire length of the path on and off.…So I will turn on Trim Paths, twirl it open, set my End down to 0, then animate…it to bring on my dashed line, and let it travel across my map.…I can even set up an animation doing that.…
So you can draw it on…or leave it in place and cause it to travel along your path.…
The After Effects Apprentice videos on lynda.com were created by Trish and Chris Meyer and are designed to be used on their own and as a companion to their book After Effects Apprentice. We are honored to host these tutorials in the lynda.com Online Training Library®.
- Drawing parametric shapes and pen paths
- Creating multiple shape groups
- Exploring Wiggle Paths and the Wiggle Transform effect
- Defining gradient fills
- Creating a swarm
- Blending multiple shapes into a texture
- Crafting and animating dotted and dashed lines
- Combining effects, layer styles, expressions, and Brainstorm with shape layers
- Showing tips for stylizing sidebars