Learning Some New Techniques

In this next section, we will combine what we learned above to explore some new animation techniques. We’ll also explore how to manipulate animations with adjustment layers and filters, how to create complex movement by layering animations, and even how to create organic-looking effects.

USING TEMPLATE LAYERS WITH SMART OBJECT ANIMATIONS

Because smart objects can contain multiple layers, we can create temporary layers that act as templates to help us create more complex animations. For example, in the animation below, I’ve created a red dot that moves around in a circle. Typically, this would be difficult to create, requiring many keyframes. With smart objects, we can use template layers to simplify the process. Let’s see how it’s done:

A red dot moving around in a circle.

In the scene below, I have created two layers: one with a red dot, labeled “Dot,” and the other with a large gray circle, labeled “Template Shape.” I’ve added hash marks to the large gray circle to better demonstrate movement.

Scene consisting of two layers, a red dot and large, gray circle.
Step 1: Scene consisting of two layers, a red dot and a large gray circle. (View large version)

To start, I’ll select both layers and convert them to a smart object. This can be done by right-clicking one of the selected layers and choosing “Convert to Smart Object” from the pop-up list.

Convert layers to a smart object
Step 2: Convert layers to a smart object. (View large version)

Now, we can animate both objects as a single layer. Because this is a smart object, I have access to the Transform property in the Timeline panel, which allows me to keyframe rotation. I’ve added a keyframe at each half rotation, for one full rotation. The result is the circle, rotating 360 degrees.

Step 3: Both layers rotate as one.

Now that our animation is working, we’ll need to remove the template shape. To do this, double-click to edit the smart object’s thumbnail in the Layers panel. Once the smart object is open, we can hide the “Template Shape” layer.

Hide the Template Shape layer.
Step 4: Hide the “Template Shape” layer. (View large version)

All we need to do now is save the smart object document and return to our original document. We can see that our red dot moves around in a circle without the gray shape in the background.

A red dot moving around in a circle.

EMBEDDING ANIMATIONS IN SMART OBJECTS

As I mentioned, smart objects can consist of any type (or multiple types) of layers — including layers that already contain keyframed animation. A smart object’s ability to hold animated layers makes it even easier to create complicated movements, such as the one below. Let’s explore how this is done.

A bouncing dot animation created with multiple sets of keyframes.

In the scene below, I have already set up a simple animation of a yellow dot rotating on a blue background.

Step 1: A yellow dot rotating on the canvas.

Next, I’ll go to the Layers panel, right-click the “Dot” layer, and select “Convert to Smart Object.”

Convert yellow dot layer to a smart object
Step 2: Convert yellow dot layer to a smart object. (View large version)

Now that this is a new smart object layer, we can add a new set of keyframes to it. In the scene below, I’ve added a set of keyframes to animate the smart object up and down. When the animation is played back, we can see both sets of keyframes at work, creating a bouncing effect.

Step 3: New keyframes create a bouncing effect.

Let’s take this a little further. Convert this smart object layer into another smart object. This will give us a brand new smart object to edit. Next, we’ll add a transformation to this smart object. Go to “Edit” → “Free Transform,” and adjust the handles so that the smart object appears in perspective.

Transform the animation.
Step 4: Transform the animation. (View large version)

Now, when you play back the animation, it will animate within the distorted smart object.

Animation plays within the transformation.

ANIMATING FILTERS

Now that we’ve learned how to embed animations inside smart objects, we can use this same technique to animate filters. If we add a filter to a smart object that contains an animated layer, the result will be an animation that plays through the filter. Let’s see how this works.

In the scene below, I have already set up a simple animation inside of a smart object that shows a dot moving over a red background.

Step 1: Smart object animation of a yellow dot moving across a red background.

Because our animation already resides in a smart object, I can add a filter directly to it. In this case, I’ll go to “Filter” → “Distort” → “Twirl.”

Applying the Twirl filter to the smart object animation
Step 2: Applying the Twirl filter to the smart object animation. (View large version)

When I preview the animation, I see some interesting things happening. The filter has been applied to the smart object itself, rather than pixels of its contents. Therefore, the movement of the animated pixels through the filter has a unique effect.

Animation of the Twirl filter.

ADDING LAYER STYLES TO SMART OBJECT ANIMATIONS

Layer styles can be applied to animated layers much like regular layers. They are also useful in other ways. I’ll show you what I mean.

In the scene below, I already have a smart object that contains a simple animation of a dot moving across a white background.

Step 1: Simple smart object animation.

My goal is to apply the Bevel & Emboss layer syle to the dot. However, If I try to apply the layer style to the smart object at this point, it would affect the entire smart object, white background and all.

Step 2: Layer styles are applied to the image as a whole.

To fix this, I need to remove the white background. Earlier, I mentioned that we could edit the smart object to hide extra layers. In this example, I want to demonstrate another method.

As long as there is good tonal contrast between the layers, we can use the Blend If options in the Layer Styles panel to remove the background. Double-click the smart object layer to open the Layer Styles panel, and adjust the “Blend If” → “This Layer” slider until the background disappears.

Tip: Holding down Option will separate the sliders, causing a smoother transition.

Adjust the Blend If sliders.
Step 3: Adjust the “Blend If” sliders. (View large version)

To finish this method, right-click the layer in the Layers panel and select “Convert to Smart Object.” This will create a new smart object that preserves the changes we’ve just made.

Convert to a smart object.
Step 4: Convert to a smart object. (View large version)

Now, when we add a set of layer styles to our animation, the effect will be applied only to the object.

Layer styles have been added to the smart object animation.

CHANGING AN ANIMATION WITH ADJUSTMENT LAYERS

Adjustment layers act the same way with animated layers as they do with regular layers. As long as an adjustment layer is above the layer that contains the animated keyframes, the animation will inherit the adjustments. With this in mind, we can use adjustment layers to create some truly unique effects. Let’s explore this.

In the scene below, I have set up a simple grayscsale animation with two dots, one passing over the other.

Step 1: Grayscale animation of two dots.

Because the entire scene has been created in shades of gray, I will use the Gradient Map Adjustment layer to introduce color. Once I’ve added the adjustment layer, I can use the Properties panel to make the following adjustments.

Settings for the Gradient Map Adjustment layer
Step 2: Settings for the Gradient Map Adjustment layer (View large version)

The resulting effect is an animation that has been colored based on the properties of the adjustment layer.

Animation has been colored by the adjustment layer.

CREATING ORGANIC EFFECTS WITH ADJUSTMENT LAYERS

Now that we’ve learned several techniques to create animations, I want to combine a few of these to create the organic effect seen below.

Organic animation effect.

Let’s learn how this is done. To start, I’ve created another simple animation with two layers, one passing over the other. The only difference is that both layers have been blurred.

Step 1: Blurry dot animated over another.

Now, we’ll add the Levels Adjustment layer. Use the Properties panel to bring in the shadows and highlights sliders until the edges of the objects are crisp.

Edits to the Levels Adjustment layer
Step 2: Edits to the Levels Adjustment layer. (View large version)

Playing back the animation will give us a unique organic effect.

Organic animation effect.

 

Reference: Smashing Magazine