Movie Photo Tiles: Working with Numerous Layers

Free After Effects Tutorial

Dive into this comprehensive After Effects tutorial and learn about cropping layouts in Photoshop, randomizing layer entrances, orchestrating exit animations, and more. Develop your skills through practical exercises, including importing, scaling, and animating a tiled grid of 16 movie photos.

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:

Cropping Layouts & Creating Guides in Photoshop, Randomizing Layer Entrance, Orchestrating Exit Animation

Exercise Preview

preview hbo tile numerous layers

Exercise Overview

In this exercise, we will import a PSD that contains a tiled grid of 16 photos for Movie. To make its animation interesting, we’ll randomize the start of the animation and orchestrate its end, using a null object to control the scaling for multiple layers at once. Along the way you’ll learn how to keep the Timeline well organized even when working with many 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. You should still have yourname-Movie Intro.aep open in After Effects. If you closed it, re-open it now. We recommend you finish the previous exercise (4A) before starting this one. If you haven’t finished it, do the following:

    • Open Movie Intro-Ready for Photo Tiles.aep (from the Movie Intro > Finished AE Projects folder).
    • Save the file as yourname-Movie Intro.aep in the Movie Intro folder.
  2. On the Desktop, navigate to Class Files > After Effects Class > Movie Intro > Finished Clips and double–click Movie-Tiles.mov.

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

    • There are 16 photos arranged in a nice, orderly grid. The animation starts with the individual photos fading in randomly and falling down into their place in the grid.
    • After they’re all in position, all the photos scale bigger, together.
    • In the exit animation, the photos fall down the screen as they fade off. Unlike their randomized entrance, this animation is orchestrated so the photo at the bottom-left corner starts exiting first. Then it works its way up in sets of diagonals until the photo in the top-right corner exits.
  4. Replay the video as many times as you need—we’ll be reproducing it in this exercise. Keep it open so you can refer back to it as needed.

Cropping Our Photoshop Layout

Because we want all of our photos to scale up to 120% of their original size, we created the Photoshop layout at this larger size. Let’s crop the frame to HD size, within Photoshop.

  1. Launch Adobe Photoshop.

  2. We made the layout for you to save time, so go to File > Open.

  3. Navigate to Desktop > Class Files > After Effects Class > Movie Intro > Assets and double–click Movie Tiles-120 Scale Started.psd.

  4. Go to File > Save As and:

    • Set Format (Mac) or Save as type (Windows) to Photoshop if it isn’t already.
    • Navigate into Desktop > Class Files > After Effects Class > Movie Intro > Assets.
    • Name it yourname-Movie Tiles-120 Scale.psd and click the Save button.
  5. Go to Image > Canvas Size to see that the file is 2304 x 1296 Pixels (you may need to choose Pixels from the menu). This is 120% of the 1920 x 1080 HD video size.

  6. To crop the entire document so it’s HD size, set the following:

    Width: 1920 Pixels
    Height: 1080 Pixels
  7. Click OK to crop the document to the size we want to start animating at.

  8. If you get a warning that some clipping will occur, click Proceed.

    This will apply the crop but leave the individual photo layers at their original size. (They should be hanging off the edges of our document, which is what we want.)

Creating a Gridded Layout of Guides in Photoshop

The animation we’ll add soon involves repositioning the photo layers, and it will be helpful if there were guides to help us do this. While you can create guides in After Effects, there’s no easy way to ensure they’re evenly spaced. Before we leave Photoshop, let’s create a gridded layout of guides so they’ll be there when we import our PSD.

  1. Go to View > New Guide Layout and do the following to create an 8 x 8 grid:

    • Check on both Columns and Rows if they aren’t already.
    • Set both Number values to 8.
    • Make sure all other fields are blank. This means no gutters.
    • Click OK.
  2. Go to File > Save.

  3. We’re done using Photoshop, so press Cmd–Q (Mac) or Ctrl–Q (Windows) to quit.

Scaling Up Each Tile Using a Null Object

In the finished video, the tiles scale up steadily throughout the animation’s duration. Since we have so many layers, using a null object will save us a lot of tedious work!

  1. Switch to After Effects, where yourname-Movie Intro.aep is open.

  2. Press Cmd–I (Mac) or Ctrl–I (Windows) or do a File > Import > File.

  3. Navigate into Desktop > Class Files > After Effects Class > Movie Intro > Assets, and double–click on yourname-Movie Tiles-120 Scale.psd.

  4. In the pop-up that appears, make sure the following options are selected:

    Import Kind: Composition – Retain Layer Sizes
    Layer Options: Merge Layer Styles into Footage

    NOTE: Only the two Composition options can bring in the file with its guides intact. One of the reasons we’re choosing to Retain Layer Sizes is because the Composition option will crop away anything outside the PSD’s canvas, such as our photos.

  5. Click OK to finish importing the PSD (the cropped grid with a guide layout).

  6. In the Project panel, double–click on the yourname-Movie Tiles-120 Scale comp (the one with a filmstrip icon composition icon to its left) to open it in the Timeline.

  7. Go to Composition > Composition Settings and change the following settings:

    Composition Name: 01-Movie Tiles
    Duration: 0;00;05;06
  8. Click OK to apply the composition settings.

  9. In the Timeline, select the NYC layer (the topmost one) so the null object we’re about to add will be added above it.

  10. Go to Layer > New > Null Object.

  11. Rename it Scale Null because we’ll use it to control the Scale property.
    NOTE: It’s important to do the next steps in order, otherwise the scaling won’t work properly.

  12. In the Timeline, select the Scale Null layer and press S to bring up its Scale.

  13. We want all the photos to be at their current size when the movie ends, so press End (or Fn–Right Arrow) to get to the last frame at 5;05.

  14. Under the Scale property, click the stopwatch stopwatch and set either value to 120%. This will not affect the photos yet.

  15. Select all the photo layers: click on Layer 2 and Shift–click on Layer 17.

  16. In the Parent & Link column on the left side of the Timeline, click into the menu of any selected layer. Change it from None to 1. Scale Null to make them all child layers.

  17. So we can set the initial keyframe, press Home (or Fn–Left Arrow) to get to 0;00.

  18. In the Scale Null layer, change Scale to 100% and all the child photo tiles will have black around them, and their anchor points positioned on an intersection of guides.

Randomizing the Order in Which the Photos Animate In

We’re ready to create the entrance animation! Feel free to watch the movie again to see that the tiles randomly fade in and fall down into place until the 1-second mark.

  1. Because we’ll need to animate into this grid, this is another time when it’s easier to animate from the last keyframe to the first. Click on the timecode timecode inline and type 1. (including the period) to get to 1;00 (1 second and 0 frames), the end of the animation sequence we’re about to create.

  2. In the Timeline, lock both the Scale Null and BG layers (the top and bottommost layers, respectively) by going to the left of the layer names and clicking the empty boxes under the Lock column lock column.

  3. Go to the View menu and make sure both Snap to Guides and Lock Guides are checked on. (If both are unchecked, you’ll need to go into the menu twice.)

    If the guides disappear, go to the bottom left of the Composition panel, click the Choose grid and guide options button grid and guides options icon, and check on Guides.

  4. In the Timeline, select a photo layer and go to Edit > Select All. Because the null object and black BG layers are locked, they won’t be selected. Convenient!

  5. Press the P key to bring up the Position property for all the layers.

  6. Hold Shift and type T to also bring up the Opacity property for all the layers.

  7. All of your layers should still be selected. It’s important to keep all of the layers selected until we say to do otherwise!

  8. In any selected layer, keyframe the Position property by clicking its stopwatch stopwatch.

  9. Click the stop watch on for the Opacity property as well.

  10. Our animation will start 15 frames earlier, so move the playhead to 0;15. (Remember that you can click the timecode to do this.)

  11. In the Composition panel, press the Up Arrow key until you have moved all the tiles up by one and a half gridlines and the bottom row is positioned as it is in the image below. TIP: Use Shift–Up Arrow when starting off because it moves 10 times faster.

    hbo tiles drag up start position

  12. Change the Opacity for one of the layers to 0% and it will apply to them all.

  13. To smoothen the exit, drag a selection around the entire column of keyframes keyframe start at 1;00.

  14. Go to Animation > Keyframe Assistant > Easy Ease In to slow down the animation as the playhead approaches this final set of keyframes.

  15. Shorten the start of the layers at 15 frames: move the playhead to 00;15, and either press Option [ (Mac) or Alt [ (Windows). Or you can hover over the left end of the layer until you see a resize icon resize bar and drag it to the right.

  16. Press Spacebar to play it back. So far, so good!

  17. To jazz up this animation, let’s randomize the order in which the photos come in. Use any method to move the playhead to 1;00 where you can see all the tiles.

  18. Click in an empty area of the Timeline to deselect all the layers.

  19. In the Tools panel, choose the Selection tool selection tool if it isn’t already.

  20. In the Composition panel, Shift–click to select 8 photos that are nicely distributed across the composition. The decision is up to you.

  21. Go to Layer > Arrange > Bring Layer to Front to place all 8 selected layers at the top of the stack in the Timeline.

  22. Then go to Layer > Arrange > Send Layer Backward, so they’re below the Scale Null.

  23. Locate the “Label Color” column in the Timeline, under an icon that looks like a tag label color. Change the Label Color of one of the selected layers to Orange, to visually separate them from the rest.

  24. Make sure your In column is showing in your Timeline. If not, Ctrl–click (Mac) or Right–click (Windows) where it says Layer Name or Source Name at the top, and from the dropdown menu, choose Columns > In.

  25. To the left of any selected layer, turn Solo solo switch on so we can see them in isolation.

  26. Deselect all of your layers by going to Edit > Deselect All.

  27. Set the In columns for each of the orange-labeled layers, several frames apart randomly. Type in any odd number from 15 to 29 for each In column. We found 27, 15, 19, 29, 21, 17, 25, and 23 to work well.

  28. Slowly drag the playhead forward in time to see the randomized fade-in and drop down animation. Nifty!

  29. Toggle Solo solo switch off, then click in an empty area of the Timeline to deselect.

  30. To repeat the process for the remaining eight photo layers:

  • Make sure the playhead is at 1;00 (you can use keyframe navigation).
  • Scroll down in the Timeline so that you can clearly see the 8 photo tiles layers below the orange-labeled ones.
  • In the Timeline’s In column, selecting the layers one at a time, set their In column values 2 frames apart, this time on even numbers 16-30. We found that 24, 20, 18, 22, 14, 26, 28, 16 works well.
  • Play it back using Spacebar.
  • Make changes to the In column of both sets of layers, until you’re satisfied with the result.
  1. Press Spacebar to preview from the beginning. Congratulations, the first part of the animation is done!

Organizing the Exit Animation’s Diagonal Groups

In the finished video, you may remember that the layers fade out and fall down in diagonal groups, starting with the lower left photo and moving up to the upper right. (Feel free to re-watch it any time needed.) Before we add the animation, let’s get organized. We’ll reorder the Timeline layers from the bottom up, and change their label colors so we remember which diagonal group each photo tile is part of.

  1. Move the playhead to 3;00, the start of the exit animation we’ll create.

  2. Press Cmd–A (Mac) or Ctrl–A (Windows) to select all the Timeline’s photo layers.

  3. To make the photos easier to organize, Select All the photo layers with Cmd-A (Mac) or Ctrl-A (PC) and then collapse their info in the Timeline by clicking on the down arrow down arrow menu next to one of them.

  4. Click in an empty area of the Timeline to deselect the photos.

  5. In the Composition panel, click on the photo tile in the bottom-left corner (the picture of three hamburgers). This will be our first diagonal.

  6. In the Timeline, drag it down so it’s Layer 17, if it isn’t already.

  7. Press Cmd–Shift–A (Mac) or Ctrl–Shift–A (Windows) to deselect all.

  8. Next in the animation sequence is a diagonal of two photos, one above the previous photo, and one to its right. Shift–click on both photos in this group, as shown in the screenshot below.

    hbo tiles diagonal layout groups

  9. To visually distinguish these layers, click on the colored square to the left of the layer number and from the Label Color menu that appears, choose Green.

    Notice the selection handles in the Composition panel and the layer bar color in the Timeline change to Green.

  10. In the Timeline, drag the layers above Layer 17. They should become Layers 15–16.

  11. Press Cmd–Shift–A (Mac) or Ctrl–Shift–A (Windows) to deselect all.

  12. Working upwards and to the right, continue Shift–clicking to select sets of diagonal photos in the Composition panel. Remember to deselect the previous ones before selecting the next group. Use the following table and the screenshot a few steps above to help you drag them to their proper place and assign a unique label color:

    Group Where to Drag Label Color
    Third diagonal (3 photos) Above Layer 15 Red
    Fourth diagonal (4 photos) Above Layer 12 Pink
    Fifth diagonal (3 photos) Above Layer 8 Yellow
    Sixth diagonal (2 photos) Above Layer 5 Blue
    Last diagonal (1 photo) Below Scale Null (so it’s Layer 2) Fuchsia

    NOTE: The parent Scale Null layer should be Layer 1 so it is above its child photo tile layers. While the scale animation would work no matter where the null object is in our layer structure, keeping a parent layer above its child layers is best for keeping the Timeline organized.

Orchestrating the Exit Animation

  1. With the playhead still at 3;00, select all unlocked layers (the 16 photos) by pressing Cmd–A (Mac) or Ctrl–A (Windows).

  2. Press the U key on the keyboard to show the pre-existing keyframes.

  3. In any selected layer, add keyframes for both Y Position and Opacity by clicking the diamonds diamond icon to the left of both property names.

  4. Move the playhead forward 23 of a second later, to 3;20.

  5. Use the Down Arrow key (adding Shift to the mix when you want to go fast) to move all the tiles down by around two and a half gridlines so the lowest row of photos is completely below the bottom of the frame, as shown below:

    hbo tiles drag down end position

    TIP: If you need to check your work, you can quickly zoom in to the Composition panel by pressing the period (.) key enough times to confirm your result. To zoom back out, press the comma (,) key until you see the entire composition frame.

  6. Change the Opacity to 0% to add another set of keyframes here at 3;20.

  7. To smooth out the beginning of this animation, drag a selection around the third column of keyframes keyframe middle at 3;00.

  8. Ctrl–click (Mac) or Right–click (Windows) on any selected keyframe and select Keyframe Assistant > Easy Ease Out to slow down the animation as the playhead leaves (goes out from) this second to last set of keyframes.

  9. Press Cmd–Shift–A (Mac) or Ctrl–Shift–A (Windows) to deselect.

  10. Let’s stagger our keyframes based on the label colors. The bottommost layer (the three burgers with the Lavender layer color) is already done because it starts at 3;00. Move the playhead to 3;10, when the next diagonal will start falling down.

  11. Near the bottom of the Timeline, inside the Green colored Layers 15–16, drag a selection around each of the two layers’ last set of 4 keyframes.

  12. Start dragging the keyframes to the right, then press Shift. Release the mouse when the first keyframes in the set snap to the playhead at 3;10.

    NOTE: Remember that if you press Shift before dragging, it will deselect the keyframe you clicked. That’s why it’s important to click and hold, THEN press Shift.

  13. The Red keyframes will start their exit at 3;20. That’s 10 frames later, so we can use another nifty keyboard shortcut. Press Shift–Cmd-Right Arrow (or Shift–Fn–Down Arrow). Because we added Shift to the mix, we’ve moved forward in time by 10 frames!

  14. Draw a box around all of the Red layers’ keyframes (that’s 3 sets of 4 keyframes).

  15. Start dragging them forward, then hold Shift to snap to the first keyframes at 3;20.

  16. Continue the process for the rest of the layer groups. Use the chart below to drag the playhead to the next position (which speeds up over time), then move the specified layers to that position:

    Timeline Position Label Color
    3;28 Pink layers (8–11)
    4;06 Yellow layers (5–7)
    4;12 Blue layers (3–4)
    4;15 Fuchsia layer (2)
  17. Let’s preview! Press Spacebar and pat yourself on the back for a job well done.

  18. Do a File > Save and leave this project open to use 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