Apple Motion 5 Cookbook
上QQ阅读APP看书,第一时间看更新

Applying a Fade In/Fade Out and Grow/Shrink behavior to a still

For those of you from Final Cut X, when in the Video tab of Inspector, we can easily set our Crop settings to Ken Burns and automatically get movement in our still images by setting the start and stop position for the effect. In Motion 5, these types of automatic animations come naturally when we use behaviors. Let's add some effects to a still and see it in practice.

Getting ready

Locate the exercise folder for this chapter on your computer. Choose the 03_01 project and double-click to open it in Motion. The project is just a still picture of a cat that has been scaled to fit an NTSC – DV project. We're going to have this photo grow over time by using a behavior to animate it.

How to do it...

  1. Press the Command + 2 shortcut to go to the Library. Navigate to Behaviors | Basic Motion | Grow/Shrink as shown in the following screenshot. Select the behavior and notice that in the mini-Timeline, it's the same length as your still (in this case 10 seconds). We can always trim behaviors to be whatever length we want them to be.
  2. Navigate to Window | Show HUD. In the HUD, you'll see a square. Grab one of the corners and drag it outward. Notice that only one side gets scaled up as shown in the following screenshot. Press the Space bar to play back the animation. We can also see that the picture does not scale up uniformly. Press the Command + Z shortcut to undo.
  3. Let the project continue to play while you make the next change. Drag any of the corners and drag outward to scale up. Notice how the photo animation moves quicker the more you drag out. Now drag the square inward until it is inside the smaller square as shown in the following screenshot. Notice in the Canvas how the photo scales down. The further you drag in, the faster it scales down. Isn't it amazing how we've managed to do this all in real time!
  4. With the Grow/Shrink behavior selected in the Layers tab, press the F2 key to go to the Behaviors tab of the Inspector. You also have the option of dragging the scale slider. A negative number shrinks the picture, and a positive number makes it grow. Let's add another behavior to the clip. The Library is a good place to get familiar with material because you may have noticed that when you click on an object a preview of it plays in the top-left corner. But just like FCP X, in Motion there are a ton of ways to do the same thing.
  5. Make sure the still layer is selected. Just beneath the mini-Timeline on the right-hand side, you'll see a gear icon. This is another area we can find behaviors and add them to clips. Click on it and navigate to Basic Motion | Fade In/Fade Out. In the HUD, notice how it comes with a 20-frame Fade In at the beginning and Fade Out at the end of the clip. Increase the Fade In by dragging the triangle to the right-hand side. Make it 30. Decrease the Fade Out to 10. Press the Space bar to play back your project if you stopped it.

There's more…

We can cycle through various effects on a layer by pressing the D key.

The D key

In older versions of Motion, the Heads Up Display (HUD) used to be called the Dashboard. If you have a lot of behaviors on a clip, with your HUD displaying, you can hit the D key to cycle through all the behaviors without having to click on them.

Real-time playback

One of Motion's greatest perks is your ability to adjust behaviors and animations while playing back your project. Just like editing, where it's best to make editing decisions while playing back your project, animation works the same way! You can see if your project is maintaining real-time playback by looking in the upper-left corner of the Canvas. Just keep in mind the minute we start adding several filters and behaviors, this will slow everything down and you'll need to create a RAM preview.

See also

  • The Customizing a Motion Path recipe
  • The Spinning and throwing a ball recipe