The fast-paced, clean animation style of today’s explainer videos relies on complex, animated shapes that appear to build themselves. If you’ve ever watched a Vox video, scrolled through Snapchat Discover Stories, or even sat through the commercials on TV, you’ve probably seen pop-up shapes. They appear on-screen not by walking in from the right or left, but by building themselves in a snappy, fluid fashion like a pop-up book opening. These sorts of transitions might look hard to do, but as long as you understand the nature of keyframes in After Effects, they’re quite simple. And if you don’t? Well, that’s what this vector animation tutorial is for! Read on to find out how to create your own animated shapes.
- Break your shape apart in your head.
Think about the shape you’re going to build. (For the sake of this tutorial, I’m doing a simplistic government-style building, with a dome and columns.) In your head, think about the shapes it takes to make it.
My finished shape (left) and all of the pieces that it took to create (right)Sometimes it can be tough to visualize this “breaking apart” process, especially if you’ve never used your brain in that way before! I like to imagine overlapping shapes as different colors, similar to the picture below. Notice how the two rectangles and a circle create the building. A helpful visual for how overlapping shapes can create a more complex shape.
- Build the basic components.
Create your After Effects file and sequence. You can use absolutely anything for the size and length—this whole effect should only take a few seconds on the timeline to animate in and out.
Then, create your shape layers by clicking the rectangle or circle tools in the toolbar and just dragging on the screen. Before you draw a new shape, make sure you don’t have any of your existing layers selected or After Effects will make an annoying “shape group.”
Arrange them to make your object. Make sure to arrange the layers so that the objects on top are above the ones below.
All of my shapes in the After Effects timeline. That was two light gray rectangles, one light gray circle, and ten dark gray rectangles.You are finished with this step when the object looks the way it is meant to be when the animation finishes. My entire After Effects window. Not sure why I chose lilac as my background color.
- Set your ending keyframes first. Before we begin, let’s set a keyframe for all of these objects so that they come back to this location at the end of the vector animation. Move your playhead to three seconds (or whenever you want the shapes to be done moving.) Highlight all of your layers by pressing command/ctrl+A. On one of them, “expand” the layer view so that you can see the transform options. Press the stopwatch beside “position”. Press the stopwatch beside “scale”.
- Shape by shape, animate the objects into the frame.
This is where it gets a bit complicated, but we’re going to move layer by layer. If it helps to hide all of the other layers so you can only see one at a time, press the eyeball on our other layers to hide or show it temporarily.
Start with your first object—the center of your image. For me, that was my middle rectangle. Move your playbar to time 0, the start of the video.
Beside the “scale,” you’ll see a link icon. This means that the object will always scale proportionately–but for pop-up shapes, we don’t want that. Click the scale and turn it off.
Then, type “0” for the second scale value. You will notice that the “height” of your shape becomes 0. It will just be a line, floating. If you’ve already set your end keyframe, After Effects will drop one here by default for you.
The scale, before and after.This floating line is probably too high or too low. Use the arrow keys to move it so that it lies where the base of the image was sitting before. (If you’re more familiar with keyframes, you can also move the anchor point of the shape so that it grows “from the base.” For the sake of simplicity, I won’t get into that, but it’s technically the better way to use this effect.) That was it! That’s one shape done. Now, move your playhead to 0.5 seconds. And repeat the effect for your second shape. Keep moving, advancing in time, until all of your shapes have been animated. You want each of them to start the video invisible—either so thin or so small (scale of 0%) that they are imperceptible until they “grow” onto the screen. Note: Not every shape has to “pop up” in the same manner as the first one! For my building, I had the base rectangle start with a height of 0 and grow upward. I had the second rectangle start with a width of 0 and expand outward like wings. I had the circle start with a scale of 0 in all directions (by not un-clicking the link icon) and grow to be full-size. (Technically, I had it overshoot 100% and then snap back into 100% so that it would “bounce” more.)
- Adjust timing and keyframe type.
Once you’ve completed every shape, drag the “end” keyframe so that the first layer ends soonest, followed by the next, etc. Play the video back and see which elements need to be faster or slower.
Finally, highlight all of your keyframes by dragging over them all and right-click. Mouse down to “keyframe assistant” and hit “eazy ease.” Your keyframes will turn from diamonds to hourglasses. This will make the animation all-around smoother. To get more in-depth with motion in AE, read a full guide here. And that should be your finished pop-up shape! You can complete the same steps with reversed keyframes to have them “build down.” Or, if you’re lazy, make a pre-comp out of all of your layers by selecting them all and hitting “pre-comp.” Then, create a new composition with two pre-comps, reverse one of them (right click and under time, hit “reverse”), and voila. An animated shape that builds in and out.
Are you a current student? See how you can save over 60%.