Adobe AFTER EFFECTS 7.0 Manual page 591

Table of Contents

Advertisement

ADOBE AFTER EFFECTS 7.0
585
User Guide
Argument type: t is a Number.
Returns the spatial speed value at the specified time.
Return type: Number or Array.
wiggle(freq, amp, octaves=1, ampMult=.5, t=time)
Argument type: freq, amp, octaves, ampMult, and t are Numbers.
Randomly shakes (wiggles) the value of the property. The freq value is in wiggles per second, amp is in units of the
property to which it is applied, octaves is the number of octaves of noise to add together, ampMult is the amount that
amp is multiplied by for each octave, and t is the base start time. Example:
p ositi on. wi g g le(7, 30, 3)
Return type: Number or Array.
temporalWiggle(freq, amp, octaves=1, ampMult=.5, t=time)
Argument type: freq, amp, octaves, ampMult, and t are Numbers.
Samples the property at a wiggled time. The freq value is in wiggles per second, amp is in units of the property to
which it is applied, octaves is the number of octaves of noise to add together, ampMult is the amount that amp is
multiplied by for each octave, and t is the base start time. For this function to be meaningful, the property it samples
must be animated, because the function alters only the time of sampling, not the value. Example:
s c a le. temp or a l -
Wig g le(5, .2)
Return type: Number or Array.
smooth(width=.2, samples=5, t=time)
Argument type: width, samples, and t are Numbers.
Applies a box filter to the value of the property at the specified time, and smooths the result over time. The width
value is the range of time (in seconds) over which the filter is averaged. The samples value is the number of discrete
samples evenly spaced over time. Generally, you'll want samples to be an odd number so that the value at the current
time is included in the average. Example:
p osition.smo ot h(.1, 5)
Return type: Number or Array.
loopIn(type="cycle", numKeyframes=0)
Loops a segment of time that is measured from the first keyframe on the layer forward toward the layer's Out point.
The loop occurs from the layer's In point to the first keyframe on the layer. The segment to loop is delineated by the
specified number of keyframes. The numKeyframes value sets the number of keyframe segments to loop; the
specified range is measured from the first keyframe. For example,
loops the segment bounded by
lo opIn("c ycle", 1 )
the first and second keyframes. The default value of 0 means that all keyframes will loop.
Return type: Number or Array.
loopOut(type="cycle", numKeyframes=0)
Loops a segment of time that is measured from the last keyframe on the layer back toward the layer's In point. The
loop occurs from the last keyframe on the layer to the layer's Out point. The segment to loop is delineated by the
specified number of keyframes. The numKeyframes value sets the number of keyframe segments to loop; the
specified range is measured backward from the last keyframe. For example,
loops the segment
lo op O ut("c ycle", 1)
bounded by the last keyframe and second-to-last keyframe. The default value of 0 means that all keyframes will loop.
Return type: Number or Array.
loopInDuration(type="cycle", duration=0)
Loops a segment of time that is measured from the first keyframe on the layer forward toward the layer's Out point.
The loop occurs from the layer's In point to the first keyframe on the layer. The segment to loop is delineated by the
specified duration. The duration value sets the number of composition seconds in a segment to loop; the specified
range is measured from the first keyframe. For example,
loops the first second of the
l o op In D ur ati on("c ycle", 1 )
entire animation. The default of 0 means that the segment to loop begins at the layer Out point.
Return type: Number or Array.
loopOutDuration(type="cycle", duration=0)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents