Animating Shapes with Trim Paths and Gradient Effects
Master Advanced After Effects Shape Animation Techniques
Key Animation Methods Covered
Track Matte Text Reveals
Use animated bars as track mattes to reveal country labels. The bar layer gets turned off automatically but must be manually reactivated for the effect to work properly.
Trim Paths for Shape Layers
Shape layer exclusive effect that animates stroke-based paths. Works only with outlines and strokes, not fills, creating smooth draw-on animations.
Gradient Wipe Effects
Uses grayscale values from reference layers to create organic, cloud-based reveal patterns. Works with any layer type including video and images.
Track Matte Text Animation Workflow
Assign Track Matte
Set the text layer to use the animated bar as its track matte source in the track matte column
Reactivate Bar Layer
The bar layer automatically turns off when assigned as track matte - manually turn it back on to remain visible
Repeat for Each Element
Apply the same process to each country label, using its corresponding bar for the track matte effect
Position Number Labels
Place value numbers inside bars to use the same track matte, or outside bars if independent animation is needed
Numbers placed outside the bars cannot use the track matte effect and would fail if attempted. Position them inside the bars if you want the same reveal animation.
Shape Layer Exclusive Effects
Trim Paths
Creates write-on effects for stroke-based shapes. Animate the end property from 0% to 100% over time for smooth path reveals.
Repeater
Duplicates and repeats shape elements within the same layer. Useful for creating pattern effects and geometric designs.
Transform Effects
Includes twist, wiggle, and zigzag effects that can only be applied to shape layers for dynamic distortions.
Trim Paths vs Fill Shapes
Gradient Wipe Setup Process
Create Reference Layer
Make a solid layer and add fractal noise effect to generate cloud-pattern grayscale values
Apply Gradient Wipe
Add gradient wipe effect to target layer and set gradient layer to reference the fractal noise layer
Configure Source
Set gradient layer to pull from effects and choose the fractal noise as the grayscale source
Animate Completion
Animate the completion property from fully hidden to fully visible for organic reveal effect
Wipe Effect Comparison
| Feature | Linear Wipe | Radial Wipe | Gradient Wipe |
|---|---|---|---|
| Animation Pattern | Straight line | Circular | Organic/Cloud-based |
| Control Method | Direction angle | Center point | Grayscale reference |
| Visual Result | Clean geometric | Radial sweep | Natural flowing |
| Complexity | Simple | Simple | Requires reference layer |
The reference layer can be hidden and still work. You can use Photoshop files, images, or video as gradient sources instead of fractal noise for unique effects.
Rectangle and other shape tool objects have fixed anchor points that cannot be manually edited. To change the starting point, rotate the shape within its transform properties rather than attempting to move anchor points.
Bezier Path vs Shape Path Objects
| Feature | Bezier Path (Pen Tool) | Shape Path (Shape Tools) |
|---|---|---|
| Anchor Point Control | Full manual control | Fixed positions |
| Shape Properties | Basic path only | Size, roundness, etc. |
| Editability | Individual points | Parametric controls |
| Conversion | Cannot become shape | Can convert to bezier |
This lesson is a preview from our After Effects Course Online (includes software) and After Effects Certification Course Online (includes software & exam). Enroll in a course for detailed lessons, live instructor support, and project-based training.
Key Takeaways