Animating strokes in Adobe After Effects is a fundamental skill in motion graphics. Mastering these techniques allows you to create dynamic text animations, line art, UI elements, and visual effects that elevate your projects. This tutorial will cover eight powerful stroke animation techniques using Trim Paths, Tapered Strokes, Offset Paths, and more.
By the end of this guide, you’ll learn how to: ✔ Create Trim Path animations with smooth motion. ✔ Use Tapered Strokes for stylish effects. ✔ Morph strokes between different shapes. ✔ Animate strokes along a path. ✔ Generate liquid stroke effects. ✔ Design chain-like animations. ✔ Combine multiple techniques for professional motion graphics.
Let’s dive in! 🚀
1. Trim Path Animation – The Basics
The Trim Path effect is one of the most essential stroke animation techniques. It allows you to reveal or hide a stroke over time, making it perfect for drawing animations.
Steps to Create a Trim Path Animation:
- Create a Shape Layer and draw a line using the Pen Tool (G).
- Open Contents > Add > Trim Paths.
- Adjust the Start and End properties:
- Set End from 0% to 100% to reveal the stroke.
- Set Start from 0% to 100% to hide the stroke.
- Offset the Start and End keyframes for a trailing animation effect.
- Use the Graph Editor to smooth out the motion.
💡 Pro Tip: To loop a circular stroke, animate the Offset property instead of Start/End values.
2. Morphing Strokes Between Shapes
Morphing strokes allows you to animate transitions between different shapes smoothly.
Steps to Morph Strokes:
- Draw two shapes using the Pen Tool.
- Convert them into Shape Layers.
- Set keyframes for Path properties.
- Copy the second shape’s path and paste it onto the first shape’s path keyframe.
- Adjust the First Vertex point (Right-click > Set First Vertex) to ensure smooth transitions.
💡 Pro Tip: If your morphing doesn’t work properly, the shapes must have the same number of anchor points.Adjust them manually for a cleaner transition.
3. Tapered Strokes – Stylish Line Animation
Tapered strokes help create elegant, organic line animations with a smooth width variation.
Steps to Apply Tapered Strokes:
- Draw a stroke using the Pen Tool.
- Open Stroke Settings and enable Taper.
- Adjust Start Length and End Length to control width variation.
- Apply Trim Paths to animate the taper dynamically.
- Use Graph Editor for easing effects.
💡 Pro Tip: Tapered strokes work best when combined with Trim Paths to simulate dynamic brush strokes.
4. Stroke Offset Animation – Infinite Loops
Animating the Offset Path value creates seamless loop animations, great for loading icons or radial effects.
Steps to Animate Stroke Offset:
- Create a circular shape and add Trim Paths.
- Delete Start/End keyframes and only animate Offset.
- Loop the offset value for continuous motion.
- Adjust stroke width and color for style.
💡 Pro Tip: Reverse stroke direction by clicking Reverse Path Direction.
5. Gradient Strokes – Colorful Transitions
Gradient strokes add depth and vibrance to motion graphics.
Steps to Create Gradient Strokes:
- Duplicate the stroke layer.
- Change the second stroke’s color.
- Use Trim Paths to shorten the second stroke.
- Set the first stroke as a matte layer.
- Apply Gaussian Blur to blend colors.
💡 Pro Tip: Add Drop Shadows to strokes for an extra glow effect.
6. Moving Objects Along a Stroke Path
Animating objects along a stroke is useful for motion paths and UI animations.
Steps to Animate Along a Path:
- Create a stroke using the Pen Tool.
- Copy the Path from the shape layer.
- Select an object (e.g., icon) and paste the Path into its Position property.
- Enable Auto-Orient Along Path for smooth motion.
💡 Pro Tip: Adjust keyframe spacing for consistent movement speed.
7. Liquid Stroke Animation
Liquid strokes create organic, fluid-like motion graphics.
Steps to Create Liquid Strokes:
- Create a Tapered Stroke animation.
- Duplicate the stroke and adjust the Trim Path Offset.
- Apply Gaussian Blur to smooth edges.
- Add Turbulent Displace for a wavy effect.
- Layer multiple strokes for complexity.
💡 Pro Tip: Adjust Choke Matte settings for a cleaner liquid effect.
8. Chain-Like Stroke Animation
This technique creates chain-like animated strokes for mechanical or futuristic designs.
Steps to Create a Chain Stroke:
- Apply Dashes in Stroke settings.
- Duplicate the layer and increase stroke width.
- Set the bottom layer as a track matte.
- Parent Dash Offset values for dynamic movement.
- Apply Bevel & Emboss for depth.
💡 Pro Tip: Add Extra Shadows for a more realistic chain effect.
Combining Multiple Stroke Techniques
Once you master individual stroke animations, combining them creates unique and professional motion graphics.
Advanced Combination Example:
- Create a Trim Path stroke animation.
- Add Tapered Strokes for organic movement.
- Introduce Gradient Strokes for smooth color transitions.
- Animate objects along the path for interactivity.
- Apply Gaussian Blur and Glow Effects for depth.
💡 Pro Tip: Pre-compose stroke animations for easier adjustments.
Final Touches: Enhancing Your Stroke Animations
To make your stroke animations look polished and professional, consider the following enhancements:
1. Color Grading:
- Use Adjustment Layers with Curves or Hue/Saturation.
- Experiment with color contrast for visibility.
2. Motion Blur & Easing:
- Enable Motion Blur for natural movement.
- Use Graph Editor for custom easing curves.
3. Shadows & Highlights:
- Apply Drop Shadows for depth.
- Use Inner Glow to add subtle highlights.
4. Exporting & Optimization:
- Render animations using H.264 for web use.
- Save GIF versions for UI/UX designs.
Conclusion
Mastering stroke animation techniques in After Effects opens up endless creative possibilities. Here’s a recap of what we covered:
✔ Trim Paths – Basic stroke animations. ✔ Morphing Paths – Shape transformations. ✔ Tapered Strokes – Stylish line effects. ✔ Offset Paths – Infinite looping strokes. ✔ Gradient Strokes – Color transitions. ✔ Moving Objects Along Paths – Dynamic UI effects. ✔ Liquid Strokes – Organic fluid animations. ✔ Chain-Like Strokes – Mechanical stroke designs.
By combining these techniques, you can create high-end motion graphics for commercials, UI animations, branding, and explainer videos.