Copy link to clipboard
Copied
Hi!
My problem seems a bit complicated, and i'm not sure there even is a solution for what i'm trying to do, but i thought i'd give it a shot and ask.
I'm currently working on an animation showing the route deviation of a tram line for the duration of a construction site. I have mapped the route in illustrator and exported layers to use in after effects.
The tramline i want to show is on its own layer and i am using a mask on that layer to "uncover" the line bit by bit. So far i have just been unmasking one station of the route at a time, setting one keyframe per second.
This screenshot shows the tram line i am uncovering and the mask-outline in red:
and here is a screenshot of my keyframes:
Like i said i've just placed them one second apart so far, because it's easiest that way, so i could focus on animating the mask path.
Of course now, because the distances between the stations on the map are vairable, this means the speed of the line uncovering looks faster or slower, depending on how much the mask has to move within one second.
I would like the speed to look more consistent, since a tram in real life doesn't travel faster or slower based on the distance to the next station. But if i manually move the keyframes one by one on the timeline to make the speed look sort of constistent, i will take ages to finish this (especially because i have more than one tram line to do)
Now my question:
Is there a quicker way i can take these keyframes and space them out to make the visual speed of the line more consistent?
or is there an entirely other method i could do this animation that makes more sense for what i'm trying to do?
infos: I'm working on a hp elitebook with windows 11, adobe after effects 2025
The illustrator path can be converted into a shape layer path in AE.
Just right click on an imported vector layer and choose Create > Create Shapes from Vector Layer
Then use the Trim path effect (located in the Add menu) in the shape layer as @Mikael5FE7 suggested.
Instead of trying to animate a mask, add a shape layer and use the pen tool to draw a path with no fill over the route. Then, turn the shape layer into a track matte for Layer 6 and add Trim Paths to it. With just a couple of keyframes, you can now reveal the line at a constant speed or speed up or slow down sections.
Copy link to clipboard
Copied
Try drawing the complete route with a single shape in a Shape layer. Twirl down to the actual path of the layer and select Trim Path from the Add dropdown menu. Then animate the out point to reveal the route from start to finish in a consistant speed.
Also consider playing around with Create Nulls from Path of the Window menu. Selecting the path and hitting Trace Path will create a Null that animates its position along the path (0% in the beginning, 50% in the middle, 100% at the end).
Copy link to clipboard
Copied
The illustrator path can be converted into a shape layer path in AE.
Just right click on an imported vector layer and choose Create > Create Shapes from Vector Layer
Then use the Trim path effect (located in the Add menu) in the shape layer as @Mikael5FE7 suggested.
Copy link to clipboard
Copied
Instead of trying to animate a mask, add a shape layer and use the pen tool to draw a path with no fill over the route. Then, turn the shape layer into a track matte for Layer 6 and add Trim Paths to it. With just a couple of keyframes, you can now reveal the line at a constant speed or speed up or slow down sections.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now