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

Home > Articles

This chapter is from the book

Creating a self-animating shape

Wiggle Paths is a path operation that turns a smooth shape into a series of jagged peaks and valleys. You’ll use it to make the star shimmer a little. Because the operation is self-animating, you need to change only a few properties for the entire shape to move on its own.

  1. Expand the Star 1 layer in the Timeline panel, if it isn’t already, and choose Wiggle Paths from the Add pop-up menu.

  2. Press the spacebar to play the movie so you can see the effect. Press the spacebar again to stop playback.

The star’s edge is too jagged. You’ll change the settings for a subtler effect.

  1. Expand Wiggle Paths 1. Then change the Size to 2.0 and the Detail to 3.0.

  2. Change Wiggles/Second to 5.0.

  3. Click the Motion Blur switch (icon6.jpg) for the layer, and then click the Enable Motion Blur button at the top of the Timeline panel. Then hide the layer properties.

  4. Press the spacebar to preview the star’s effect. Press the spacebar again to stop playback.

The star shouldn’t be visible during the daytime, so you’ll animate its Opacity value.

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

  2. Select the Star 1 layer, and press T to reveal its Opacity property.

  3. Click the stopwatch (icon1.jpg) to create an initial keyframe at 100% opacity.

  4. Go to 2:15, and change the Opacity value to 0%.

  5. With the Star 1 layer selected, press T to hide the Opacity property.

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.