After Effects

Advance trim Path Effect In After Effects Master Tutorial

Trim Paths is one of the most powerful yet underutilized features in Adobe After Effects. It allows motion designers to animate strokes dynamically, creating clean, precise, and visually stunning effects. Whether you’re working on a logo reveal, line-based animations, or motion graphics, mastering Trim Paths can take your animations to the next level.

This guide will cover everything from the basics to advanced techniques. By the end of this tutorial, you’ll know how to animate Trim Paths, apply offset animations, control multiple shapes, work with dashed lines, and even save animation presets for future projects. Let’s dive in!


Getting Started with Trim Paths

Step 1: Creating a Basic Trim Paths Animation

  1. Open After Effects and create a New Composition.
  2. Use the Shape Tool (Q) to draw a line or a circle.
  3. Twirl down the layer properties and click AddTrim Paths.
  4. Open the Trim Paths settings and adjust the Start and End values.
    • End moves from 0% to 100%, growing the stroke.
    • Start moves in the opposite direction, reducing the stroke.
  5. Keyframe animation:
    • Set a keyframe for End at 0% on frame 0.
    • Move forward one second and change it to 100%.
    • Apply Easy Ease (F9) to smooth out the animation.

Now, you’ve successfully created a simple stroke animation!


Advanced Trim Paths Techniques

Animating Trim Paths from the Center

Instead of animating a line from one side to another, you can create a dynamic effect where the stroke expands outward from the center.

  1. Set Start and End to 50%.
  2. Add keyframes:
    • Move End to 100%.
    • Move Start to 0%.
  3. Adjust Offset to control where the animation begins.
    • Example: Setting Offset to 180 will make it start from the top.
  4. Apply Easy Ease to refine the animation.

This effect is particularly useful for animating circular shapes and symmetrical designs.

Using Offset to Add Motion

Offset is a hidden gem inside Trim Paths that allows you to shift the entire path animation dynamically.

  1. Create a circle or a curved stroke.
  2. Apply Trim Paths and animate End from 0% to 100%.
  3. Add an Offset animation:
    • Drop in a keyframe at frame 0.
    • Move forward a second and adjust the offset to -180.
    • Apply Easy Ease.

💡 Pro Tip: Ensure that Offset animation follows the same direction as the End animation to avoid unnatural movement.


Controlling Multiple Shapes with Trim Paths

By default, Trim Paths affects all objects inside a Shape Layer simultaneously. However, you can animate each shape individually for more control.

  1. Duplicate a shape inside the Shape Layer.
  2. Select Trim PathsTrim Multiple Shapes.
  3. Switch between Simultaneous (all animate together) and Individual (each animates sequentially).
  4. Arrange layers to determine animation order.

This method is great for creating dynamic transitions and intricate path-based designs.


Working with Dotted or Dashed Lines

Animating a dotted or dashed stroke with Trim Paths can be tricky because it often results in an unwanted cascading effect.

The Problem

  1. Add a Stroke to your shape and set Dash: 50 and Gap: 60.
  2. Animate Start, and you’ll notice that the dashes slide in awkwardly.

The Solution

  1. Duplicate the shape layer and call it Line Matte.
  2. Remove dashes from Line Matte and increase stroke thickness.
  3. Use it as an Alpha Matte for the original dashed line.
  4. Now, both Start and End animations work smoothly!

💡 This technique is particularly useful for dashed-line reveals in motion graphics and UI animations.


Saving Trim Paths Animations as Presets

If you frequently use Trim Paths, save time by creating an animation preset:

  1. Animate your Trim Paths as desired.
  2. Select the animated keyframes.
  3. Go to AnimationSave Animation Preset.
  4. Name it and save it in User Presets.
  5. Apply it anytime by selecting a new shape, going to Effects & Presets, and choosing your saved preset.

🎯 Now you can quickly reuse your favorite Trim Paths animations!


Real-Life Application: Reverse Engineering a Trim Paths Animation

Let’s break down a professional Trim Paths animation and recreate it.

Step 1: Analyze the Animation

We’ll focus on an animation where a line rotates, morphs into a squiggle, and extends dynamically.

Step 2: Create the Initial Motion

  1. Create a circle using the Ellipse Tool.
  2. Animate its path by adjusting the shape’s Path keyframes.
  3. Apply strong Easy Ease (80% influence) for fluid motion.
  4. Add Rotation animation:
    • Start at -90° and end at .
    • Use a strong Ease Out curve.

Step 3: Adding the Squiggle Transformation

  1. Use Trim Paths to animate the stroke.
  2. Adjust Start and End to create a squiggly motion.
  3. Apply a taper effect:
    • Taper > Start Length: 50.
    • Taper > End Length: 0.

Step 4: Styling with Layer Styles

  1. Right-click Shape LayerLayer Styles.
  2. Apply Inner Shadow, Bevel & Emboss, and Inner Glow.
  3. Adjust the glow’s blending mode to Screen and tweak the intensity.
  4. Copy and paste styles onto all layers for consistency.

Step 5: Finalizing with Motion Blur

  1. Enable Motion Blur for all layers.
  2. Adjust frame rate for a more cinematic look.
  3. Add a glow effect to enhance the animation.

🎉 And that’s it! You’ve recreated a professional motion graphics effect using Trim Paths!


Conclusion

Trim Paths is a powerful animation tool that can transform simple strokes into dynamic motion graphics.

Watch Complete Tutorial Here

Leave a Reply

Your email address will not be published. Required fields are marked *