Example: To Create A Bulge Between Two Layers; Example: To Create A Circular Movement In One Layer - Adobe AFTER EFFECTS 7.0 Manual

Table of Contents

Advertisement

Duplicate the last layer five times. All layers follow the same path, and each is delayed 0.5 seconds from the
5
previous. (See "To duplicate a layer" on page 157.)

Example: To create a bulge between two layers

This example expression synchronizes the Bulge Center parameter of the Bulge effect in one layer with the position
of another layer. For example, you can create an effect that looks like a magnifying glass moving over a layer, with
the contents under the magnifying glass bulging as the lens (that is, the overlying layer) moves. This expression uses
the
element, which makes the expression work correctly regardless of whether you move the magnifying
f rom World
glass layer or the underlying layer. You can rotate or scale the underlying layer, and the expression stays intact.
You can also use other effects, such as Ripple, with this expression.
1
Start with two layers. Make one layer a magnifying glass or similar object with a hole in the middle and name it
Magnifier. (See "About layers" on page 149.)
Create a motion path for the magnifying glass layer. (See "To create a motion path" on page 210.)
2
3
Apply the Bulge effect to the other layer. (See "Applying and controlling effects" on page 348.)
Select the Bulge effect's Bulge Center property in the Timeline panel and choose Animation > Add Expression.
4
Select the default expression text and type the following:
5
f rom World(t hisC omp.layer("Mag nif ier").p osit ion)

Example: To create a circular movement in one layer

You can create an expression without using properties from other layers. For example, you can make a layer revolve
in a perfect circle or move back and forth diagonally.
1
Start with one layer. (See "About layers" on page 149.)
Select the Position property for the layer and choose Animation > Add Expression.
2
Select the default expression text and type:
3
[(t hisC omp.widt h/2), (t hisC omp.heig ht/2)] + [Mat h.sin(t ime)*50, -Mat h.cos(t ime)*50]
ADOBE AFTER EFFECTS 7.0
589
User Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents