Publishers of technology books, eBooks, and videos for creative people

Home > Articles

Distorting Objects with the Puppet Tools

This chapter is from the book
pt_00.jpg

PROJECT: ANIMATED ILLUSTRATION

Pull, squash, stretch, and otherwise deform objects on the screen using the Puppet tools. Whether you’re creating realistic animations, fantastic scenarios, or modern art, the Puppet tools will expand your creative freedom.

Getting started

Using the Puppet tools in After Effects, you can add natural motion to raster images and vector graphics. Five tools create pins to define the point of deformation, areas of overlap, and areas that should remain more rigid. An additional tool, the Puppet Sketch tool, lets you record animation in real time. In this lesson, you’ll use the Puppet tools to animate a crab’s pincers in an advertisement.

Start by previewing the final movie and then setting up the project.

  1. Make sure the following files are in the Lessons/Lesson08 folder on your hard disk, or download them from your Account page at www.peachpit.com now:

    • In the Assets folder: crab.psd, text.psd, Water_background.mov

    • In the Sample_Movies folder: Lesson08.avi, Lesson08.mov

  2. Open and play the Lesson08.avi sample movie in Windows Movies & TV or the Lesson08.mov sample movie in QuickTime Player to see what you will create in this lesson. When you are done, close Windows Movies & TV or QuickTime Player. You may delete the sample movies from your hard disk if you have limited storage space.

When you begin this lesson, restore the default application settings for After Effects. See “Restoring default preferences” on page 3.

  1. Start After Effects, and then immediately hold down Ctrl+Alt+Shift (Windows) or Command+Option+Shift (macOS). When prompted, click OK to delete your preferences. Click New Project in the Home window.

After Effects opens to display a blank, untitled project.

  1. Choose File > Save As > Save As.

  2. In the Save As dialog box, navigate to the Lessons/Lesson08/Finished_Project folder.

  3. Name the project Lesson08_Finished.aep, and then click Save.

Importing footage

You’ll import two Adobe Photoshop files and a background movie.

  1. Choose File > Import > File.

  2. Navigate to the Lessons/Lesson08/Assets folder. Press Ctrl or Command to select the crab.psd and Water_background.mov files. Then click Import or Open. The assets appear in the Project panel.

  3. Double-click an empty area in the Project panel to open the Import File dialog box again. Select the text.psd file in the Lessons/Lesson08/Assets folder.

  4. Choose Composition – Retain Layer Sizes from the Import As menu. (In macOS, you may need to click Options to see the Import As menu.) Then click Import or Open.

  5. In the Text.psd dialog box, select Editable Layer Styles, and click OK. The imported file is added as a composition to the Project panel; its layers are added in a separate folder.

Creating the composition

As with any project, you need to create a new composition.

  1. Click New Composition in the Composition panel.

  2. Name the composition Blue Crab.

  3. Choose NTSC DV from the Preset pop-up menu. The preset automatically sets the width, height, pixel aspect ratio, and frame rate for the composition.

  4. In the Duration field, type 1000 to specify 10 seconds.

  5. Change the Background Color to a deep cyan color. (We used R=5, G=62, B=65.) Then click OK to close the Composition Settings dialog box.

After Effects opens the new composition in the Timeline and Composition panels.

Adding the background

It’s easier to animate the image in context, so first you’ll add the background to the composition.

  1. Press the Home key or move the current-time indicator to the beginning of the composition.

  2. Drag the Water_background.mov file to the Timeline panel.

  3. Click the Lock icon (lock.jpg) for the layer to prevent accidental changes to it for now.

Animating imported text

The final movie includes two lines of animated text. Because you imported the text.psd file as a composition with layers intact, you can work on it in its own Timeline panel, editing and animating its layers independently. You’ll add an animation preset to each layer.

  1. Drag the text composition from the Project panel into the Timeline panel, placing it at the top of the layer stack.

  2. Double-click the text composition to open it in its own Timeline panel.

  3. Shift-click to select both layers in the text Timeline panel, and choose Layer > Create > Convert to Editable Text.

Now the text layers can be edited, so you can apply animation presets.

  1. Go to 3:00. Then deselect both layers, and select only the BLUE CRAB layer.

  2. In the Effects and Presets panel, search for the Fly In With A Twist animation preset. Then drag it onto the BLUE CRAB layer.

By default, the animation preset lasts just over two and a half seconds, so the text will begin to fly in at 3:00 and finish at 5:16. After Effects adds the keyframes for the effect.

  1. Go to 5:21, and select the charter services layer.

  2. In the Effects and Presets panel, search for the Slow Fade On animation preset. Then drag it onto the charter services layer.

  3. Return to the Blue Crab Timeline panel, and move the current-time indicator to the beginning of the time ruler. Press the spacebar to preview the animation. Press the spacebar again to stop playback.

  4. Choose File > Save to save your work so far.

Scaling an object

Next, you’ll add the crab. You’ll animate it so that it fills the screen at the beginning of the movie, and then quickly shrinks and moves into position above the area where the text will appear.

  1. Drag the crab.psd file from the Project panel to the top layer in the Timeline panel.

  2. Press the Home key to move the current-time indicator to the beginning of the time ruler.

  3. Select the crab.psd layer in the Timeline panel, and press S to display its Scale property.

  4. Change the Scale value to 400%.

  5. Click the stopwatch icon (stopwatch.jpg) next to Scale to create an initial keyframe.

  6. Move to 2:00, and change the Scale to 75%.

The crab scales appropriately, but its position isn’t quite right.

  1. Press the Home key to return to the beginning of the time ruler.

  2. Press P to display the layer’s Position property, and change the Position to 360, 82. The crab moves up to fill the composition.

  3. Click the stopwatch icon next to Position to create an initial keyframe.

  4. Go to 1:15, and change the Position to 360, 228.

  5. Go to 2:00, and change the Position to 360,182.

  6. Drag the current-time indicator across the first two seconds of the time ruler to see the crab animation.

  7. Hide the properties for the crab.psd layer, and choose File > Save.

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.