Cellphone Commercial: Wipe Transitions & Shape Layer Fun

Free After Effects Tutorial

Learn advanced techniques in Adobe After Effects with this comprehensive tutorial focusing on creating effective transitions, manipulating shape layers, and creating a dynamic airplane transition in an animated cellphone commercial project.

This exercise is excerpted from past After Effects training materials and is compatible with After Effects updates through 2020. To learn current skills in After Effects, check out our After Effects classes and video editing classes in NYC and live online.

Topics covered in this After Effects tutorial:

Animating a Graphic to Initiate a Transition, Syncing a Linear Wipe with Animated Foreground Graphics, Cloning & Animating a Shape Layer with the Repeater,Faking 3D Layer Depth of Field with a Blur Effect, Using a Shape layer to Initiate a Wedge-Shaped Wipe Transition

Exercise Preview

preview t mobile wipes

Exercise Overview

In this exercise, we’ll focus on creating effective transitions between multiple scenes in our Cellphone commercial. Unlike the WaitingRoom project that had the same background in every scene, we need to transition between scenes that visually have little in common. However, we can still use shape layers or other transitory elements in our composition to initiate the transitions we’ll create. As we delve deeper into the world of transitions, you’ll learn some nifty techniques for manipulating shape layers.

After Effects Bootcamp: Live & Hands-on, In NYC or Online, Learn From Experts, Free Retake, Small Class Sizes,  1-on-1 Bonus Training. Named a Top Bootcamp by Forbes, Fortune, & Time Out. Noble Desktop. Learn More.

Previewing What You’ll Make in This Exercise

  1. On the Desktop, navigate to Class Files > After Effects Level 2 Class > Cellphone > Finished Clips and double–click Cellphone-Transitions.mov.

  2. Play the video and notice the following (you may need to slide the playhead slowly):

    • A plane and its cartoony movement lines zoom upward across the screen, wiping away the Janet yay scene to reveal the next scene with a magenta background.
    • In the magenta scene, black & white chevrons (arrow shapes) move across the screen from left to right. The larger ones appear to be “closer” to the camera in 3D space, so they are appropriately blurred.
    • As the arrows animate, the multitude of light magenta diagonal lines that give the background its texture move slowly in the opposite direction.
    • A gigantic white chevron initiates another wipe transition to the next scene with Gaurav’s interview.
  3. You should still have yourname-Cellphone.aep open in After Effects. If you closed it, re-open it now. We recommend you finish the previous exercises (3A–5A) before starting this one. If you haven’t finished them, do the following:

    • Open Cellphone-Ready for Wipe Transitions.aep (from the Cellphone > Finished AE Projects folder).
    • Save the file as yourname-Cellphone.aep in the Cellphone folder.

Preparing the Plane Graphics

We’ll use an airplane as the “pilot” for our first layout transition. First we need to copy the graphics so we can add it to our next scene (the fifth one).

  1. From the Project panel’s Pre-comps folder, double–click plane-transition.

  2. Notice that this comp contains a graphic of a plane, vector lines that show how fast our plane is moving, and a reference image. Select the plane and lines layers.

  3. Copy the layers.

  4. Close the plane-transition tab to return to the Cellphone-MAIN tab.

  5. Select the [5-Mograph] layer and press I to go to its in point at 5;25.

  6. With the pre-comp still selected, paste the layers.

  7. Press the left bracket ([) key so that the layers start at the playhead.

  8. We want to parent the lines layer to the plane to ensure they’ll move together. Deselect all, then set the lines layer’s Parent & Link menu to 5. plane.

  9. To shrink the plane and move its starting position to off-screen on the bottom left, set the following Transform properties for the plane layer:

    Anchor Point: 1991, 30 (on the nose of the plane)
    Position: –30, 1090
    Scale: 20%
  10. For both the plane and lines layers, turn on Continuously Rasterize continuously rasterize switch.

Making the Plane Fly

We’ve been cleared for take off! Let’s make our plane ascend diagonally across the screen. To make it more exhilarating, let’s blur the plane’s motion and make it look like it’s getting closer to the viewer by scaling it up over time.

  1. The [Tmobile-roughcut.mov] layer has been a nice reference, but it’s obstructing our flight path. Get it out of the way by clicking its eye eye icon to hide it.

  2. With the playhead still at 5;25, click the stopwatches stopwatch for the plane layer’s Position and Scale properties.

  3. Move the playhead to 6;02.

  4. Set Scale to 104%.

  5. We want the plane to be fully scaled up a few frames before the plane disappears out of view. Go to 6;11, when we want the plane to stop moving.

  6. Set Position to 4163, –1350 to move the plane fully off-screen at the top right.

  7. Scrub through to watch the plane grow as it flies across the screen! It’s a good start, but the plane doesn’t look like it’s moving as fast as those vector lines suggest.

  8. To give it the whoosh factor, turn on the plane layer’s Motion Blur switch motion blur switch.

  9. We should shorten these layers. Move the playhead to 6;11.

  10. Select both the plane and lines layers.

  11. Press Opt–] (Mac) or Alt–] (Windows) to shorten the layers to the playhead.

Syncing a Linear Wipe Transition with the Plane’s Flight

The motion graphics in the Janet yay scene share a color scheme with the 4G LTE scene we want to transition to, but that’s about it. This means we need to create a transition that fully covers up the yay scene, revealing the scene positioned on top of it in the layer stack. We’ll accomplish this by adding a wipe effect that makes the magenta [5-Mograph] layer appear to rise along with the plane layer (and the lines that move with it), as if it were an aerial banner ad attached to the plane.

  1. Move the playhead to 5;25.

  2. Select the [5-Mograph] layer we want to transition to.

  3. Go to Effect > Transition > Linear Wipe.

  4. In the Effect Controls panel, set Transition Completion to 50% and you’ll see half of the layer below it (the Janet yay scene).

    Remember that for effects such as Linear Wipe, a value of 0% means the whole layer is revealed. At 100%, you don’t see the layer at all.

  5. Let’s tilt the wipe so that it better matches the plane. Move the playhead to 5;28, the first frame where we can see the wing’s angle.

  6. Set the Wipe Angle to 0x+198°.

  7. Next to Wipe Angle, click the stopwatch stopwatch to set a keyframe.

  8. Set Transition Completion to 90% to hide this layer, revealing the scene below.

  9. Next to Transition Completion, click the stopwatch stopwatch to add a keyframe.

  10. With the [5-Mograph] layer still selected, press I to go to its in point.

  11. Set Transition Completion to 100%.

  12. With the [5-Mograph] layer still selected, press U to show its keyframes.

  13. Move the playhead to 6;02.

  14. Set Transition Completion to 56% to continue matching the plane wings.

  15. Set the Wipe Angle to 0x+191°.

  16. Move the playhead to 6;05.

  17. Set Transition Completion to 13%.

  18. The Wipe Angle looks pretty good, so just add a keyframe keyframe middle for it in the Timeline.

  19. Move forward one frame to 6;06.

  20. Set Transition Completion to 2%. (It won’t look like anything changes because there’s a white chevron near the top-right corner at this point in time.)

  21. Move forward one frame to 6;07.

  22. Set Transition Completion to 0%.

  23. Move the playhead to 5;24.

  24. Press B to set the Work Area start point so that our preview will start there.

  25. Press the Spacebar to preview the flying plane transition. Cool!

  26. We can mark these layers as done. Select the plane and lines layers.

  27. Click either of their color squares and choose Green.

  28. Collapse the layers to keep things neat.

Cloning & Animating a Shape Layer Using the Repeater

Let’s texturize the background and make this scene more interesting by adding lots of subtle magenta stripes that move across the magenta background. Ugh, does that mean we need to duplicate a shape layer countless times, reposition each copy until the cows come home, and then animate all those layers with a null object?! Nope.

All we need to do is clone the original stripe using the Repeater! We can add this operator to any After Effects shape layer. It comes with a slew of customizable properties that allow us to do nifty stuff in the blink of an eye. We’ll use it to create hundreds of clones, which we’ll animate as if they were a single object.

  1. Double–click [5-Mograph] to open this pre-comp in a new tab.

  2. To ensure we create a new shape layer (instead of a mask) in the next step, make sure nothing is selected.

  3. Double–click the Rectangle tool rectangle tool to create a shape layer with the same dimensions as our comp.

  4. If the new Shape Layer 1 isn’t already a solid white color with no stroke, go to the Tools panel and do whichever step(s) you need to change its appearance:

    • If the fill isn’t solid, click the word Fill, select Solid Color shape layer solid color, and click OK.
    • If the fill isn’t white, click its color swatch, set it to white (#FFFFFF), and click OK.
    • If there’s a stroke, click the word Stroke, set it to None stroke options none, and click OK.
  5. Expand into Shape Layer 1 > Contents > Rectangle 1 > Rectangle Path 1.

  6. To the right of Size click the Constrain Proportions icon link icon to turn it off.

  7. Set Size to 10, 1080 to make it a vertical line.

  8. To best see all the lines we’re about to add, make sure Toggle Mask and Shape Path Visibility toggle path visibility icon is off (gray) and the zoom level is set to Fit.

  9. To give our solitary line some friends, we need to add a new operator. Under the Shape Layer 1 layer, to the right of Contents click the arrow add new animation next to Add and choose the Repeater operator.

  10. Let’s create more lines. Expand into Repeater 1 and set Copies to 200.

  11. By default, it positions all the copies to the right of the original. To balance it so half of the copies are on the left, set Offset to –100.

  12. So we can make more of the lines visible on-screen, expand into Repeater 1 > Transform: Repeater 1.

  13. Set Position to 45, 0 to reduce the space between lines to 45 pixels each.

    Remember that each shape layer comes with a minimum of one group. Within each group, you have a path, stroke, fill, and transform. Every time you add an operator, it adds its own group, which contains its own set of transforms.

  14. The lines evoke the image of prison bars—definitely not what Cellphone wants! So we can make the lines diagonal, expand into Rectangle 1 > Transform: Rectangle 1. (It may be easier to find if you close up the Transform: Repeater 1 group.)

  15. Set Skew to 36 to make the lines skew rightward (like the plane’s speed lines, but at a more comfortable angle).

  16. Let’s get these stripes moving! Move the playhead to 0;00.

  17. Keyframing the offset animates the original and its clones, so within Repeater 1, click the stopwatch stopwatch next to Offset to add a keyframe.

  18. Move the playhead to the end of the comp at 2;09.

  19. Change Repeater 1 > Offset to –105. Because the two values are close to each other and the animation happens for a while, they will move at a nice slow pace.

  20. Scrub through with the playhead to watch the lines move.

  21. We want to overlay these lines over the background, but they’re currently covering everything. Move Shape Layer 1 so it becomes the second to last layer (Layer 16).

  22. Rename Shape Layer 1 to stripes.

  23. Let’s tone down the stripes. With the layer selected, press T and set Opacity to 10%.

Making the 3D Chevrons Move Across the Screen

  1. In the Timeline, notice that there’s a bunch of layers that start with black or white. Those are the chevrons you see on the screen. They have already been scaled to different sizes, scattered around the screen, and made into 3D layers. What we want to do is make them move across the screen.

  2. Click the legal 2 layer and Shift–click the for work & play layer so all the layers are selected except the bottom two.

  3. Set them to Continuously Rasterize continuously rasterize switch by clicking the switch in any selected layer.

  4. At the bottom right of the Composition panel, click the menu that says 1 View and change it to 2 Views – Horizontal. You should see the Top view and Active Camera view side-by-side.

    The easiest way to make all the chevrons move in space with a nice parallax effect (where objects that are closer appear to move faster) is to parent them to a null object, which we can then move.

  5. In the Timeline, select the black1 layer so the null object we’re about to add will be added above it.

  6. Go to Layer > New > Null Object.

  7. Make the selected [Null #] layer a 3D Layer 3d layer switch.

  8. Rename it to 3D Pan Null.

  9. Let’s move it to a more logical place. With 3D Pan Null selected, press P.

  10. Change the X value to 664 (the Position values should be 664, 540, 0).

  11. Move the playhead to 0;00 and click the Position property’s stopwatch stopwatch.

  12. Select all the chevrons by clicking on black1 and Shift–clicking on white5.

  13. So they’re easier to keep track of, set their layer color to Yellow.

  14. With all the chevrons still selected, go to the Parent & Link column and drag the pick whip pick whip icon for any of the selected layers to 3D Pan Null.

  15. Move the playhead to the end of the comp at 2;09.

  16. Back in the 3D Pan Null layer, change the X Position to around 1290 (or whatever you think looks good).

  17. Notice that the main text in the center gets partially obscured at the end. To fix this, select the 4G LTE and for work & play layers.

  18. Go to Layer > Arrange > Bring Layer to Front.

  19. To move the chevron that overlaps the text, select the white5 layer and press P.

  20. Make sure you’re still at 2;09 and change its X Position to around –740.

    3D Positioning & Layer Order in the Timeline’s Stack

    Layer order is irrelevant unless it’s a 2D layer interacting with 3D layers. A layer’s position in 3D space (along the Z-axis) is the determining factor for which 3D elements will be positioned atop or below other 3D elements. The more negative the Z Position, the closer the layer will appear to the viewer.

  21. Let’s move the black chevron at the bottom center to overlap the white chevrons a bit more to enhance the 3D effect. Select the black6 layer and press P.

  22. Change its X Position to around –442.

  23. Change the Composition panel’s view from 2 Views – Horizontal back to 1 View, and make sure the zoom level is set to Fit.

Enhancing a 3D Layer’s Depth of Field with a Blur Effect

To make our 3D layers look even more realistic, let’s add some blur to the chevrons that appear to the viewer to be closest to the “camera”.

  1. To manipulate the depth of field, we often add a 3D camera layer. This can be very render-intensive and time-consuming, so let’s do it the easy way by adding a Gaussian blur effect. We want to apply it to the following five layers, so select them:

    • black3
    • black5
    • black6
    • white1
    • white5
  2. It will be easiest to see the blurring we’re about to do at 0;00, so go there if you aren’t already.

  3. Go to Effect > Blur & Sharpen > Gaussian Blur.

  4. In the Effect Controls panel, set the following Blurriness values (you’ll need to deselect all the layers first in order to make them different for each layer):

    Layer Blurriness Value
    black3 4
    black5 14.5
    black6 8
    white1 10
    white5 8

    TIP: To see the blur on the white5 chevron, feel free to go to 2;09.

  5. Preview from the beginning. Looking good!

Using a Shape Layer to Initiate a Radial Wipe Transition

In the previous transition, we used a Linear Wipe that wipes on the entire layer at the specified angle. This time, we want to use a giant chevron shape to initiate a wipe transition. Because it is comprised of two lines (as opposed to the straight plane wings), a Linear Wipe will not work.

The Radial Wipe transition usually moves in a circle, and can look quite cheesy. In this case it’s the perfect tool for the job, because we can customize it to move along a sharp angle that matches that of our chevron.

  1. Switch to Cellphone-MAIN.

  2. Move the playhead to 7;27, where the sixth scene starts.

  3. In the Project panel, expand into Assets > 5-layout-outlines Layers.

  4. Within that folder, find giantWhite/5-layout-outlines.ai and drag it to the Timeline above the [6-Interview] layer (the scene we’ll transition to).

  5. Rename the layer giant white chevron.

  6. We want this layer to start at 7;27, so with the giant white chevron layer selected, press the left bracket ([).

  7. Keeping the giant white chevron layer selected, press P.

  8. Ctrl–click (Mac) or Right–click (Windows) on the Position property and choose Separate Dimensions.

  9. Deselect all and then next to X Position, click the stopwatch stopwatch to set a keyframe.

  10. Set X Position to –619 so it’s fully positioned off-screen to the left.

  11. Move the playhead to 8;04.

  12. Set X Position to 2477. Yes, this will be a fast transition!

  13. Select the [6-Interview] layer.

  14. Go to Effect > Transition > Radial Wipe.

  15. In the Effect Controls panel under Radial Wipe, set the following to make it look similar to our huge chevron:

    Transition Completion: 74%
    Start Angle: 0x+90°
    Wipe: Both

    Notice how having it wiping both clockwise and counterclockwise with a start angle of 90°, creates a similar shape to our giant white chevron. We just need to have this movement match our chevron.

  16. Move the playhead to 7;27.

  17. In the Effect Controls panel, next to Wipe Center click the stopwatch stopwatch to add a keyframe.

  18. To the right of Wipe Center, drag the first number left while holding down Shift until it is all the way off-screen.

  19. Move the playhead to 8;04.

  20. To the right of Wipe Center, drag the first number right while holding down Shift until the entire interview scene is showing.

  21. We need to shorten the giant white chevron layer bar so it doesn’t extend longer than the animation. Select it.

  22. Make sure the playhead is at 8;04.

  23. Press Opt–] (Mac) or Alt–] (Windows) to end the layer bar at the playhead.

  24. Scrub through to make sure the transition looks good. This pre-comp is done!

  25. Collapse any layers and close the tabs other than Cellphone-MAIN.

  26. In Cellphone-MAIN, we should mark the comps we’re finished with as done. Change the colored squares for giant white chevron and [5-Mograph] to Green.

  27. Save the project and leave it open. We’ll finish it up in the next exercise!

Kalika Kharkar Sharma

Kalika Kharkar Sharma is a professional animator and motion designer. She has worked on projects for some of the world's leading studios and companies, creating innovative and entertaining motion graphics and character animations. Kalika is passionate about helping others learn the craft of animation and has taught at several universities and academies.

More articles by Kalika Kharkar Sharma

How to Learn After Effects

Master After Effects with hands-on training. After Effects is the industry-standard application for motion graphics, animation, and visual effects.

Yelp Facebook LinkedIn YouTube Twitter Instagram