EasyManua.ls Logo

Adobe AFTER EFFECTS 7.0 - Page 581

Adobe AFTER EFFECTS 7.0
684 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ADOBE AFTER EFFECTS 7.0
User Guide
575
gaussRandom(minValOrArray, maxValOrArray) Return type: Number or Array.
Argument type: minValOrArray and maxValOrArray are Numbers or Arrays.
If minValOrArray and maxValOrArray are Numbers, this method returns a random number. Approximately 90% of
the results are between minValOrArray and maxValOrArray, and the remaining 10% are outside of this range. If the
arguments are Arrays, this method returns an Array of random numbers with the same dimension as the argument
with the greater dimension. For each component, approximately 90% of the results are between the corresponding
components of minValOrArray and maxValOrArray, and the remaining 10% are outside of this range.The results
have a Gaussian (bell-shaped) distribution.
noise(valOrArray) Return type: Number.
Argument type: valOrArray is a Number or an Array [2 or 3].
Returns a number between 0 and the input value. Noise is not actually random, but is used when you want a
seemingly random number with some correlation between nearby samples. It is based on Perlin Noise. (See a
computer graphics reference book for more information.) Example:
add(position, noise(position)*50)
Interpolation methods
linear(t, value1, value2) Return type: Number or Array.
Argument type: t is a Number, and value1 and value2 are Numbers or Arrays.
Returns a value that linearly interpolates from value1 to value2 as t ranges from 0 to 1. Returns value1 when t <= 0.
Returns value2 when t >= 1.
linear(t, tMin, tMax, value1, value2) Return type: Number or Array.
Argument type: t, tMin, and tMax are Numbers, and value1 and value2 are Numbers or Arrays.
Returns value1 when t <= tMin. Returns value2 when t <= tMax. Returns a linear combination of value1 and value2
when tMin < t < tMax.
ease(t, value1, value2) Return type: Number or Array.
Argument type: t is a Number, and value1 and value2 are Numbers or Arrays.
Similar to
linear, except that the interpolation eases in and out so that the velocity is 0 at the start and end points.
This method results in a very smooth animation.
ease(t, tMin, tMax, value1, value2) Return type: Number or Array.
Argument type: t, tMin, and tMax are Numbers, and value1 and value2 are Numbers or Arrays.
Similar to
linear, except that the interpolation eases in and out so that the velocity is 0 at the start and end points.
This method results in a very smooth animation.
easeIn(t, value1, value2) Return type: Number or Array.
Argument type: t is a Number, and value1 and value2 are Numbers or Arrays.
Similar to
ease, except that the tangent is 0 only on the value1 side and interpolation is linear on the value2 side.
easeIn(t, tMin, tMax, value1, value2) Return type: Number or Array.
Argument type: t, tMin, and tMax are Numbers, and value1 and value2 are Numbers or Arrays.
Similar to
ease, except that the tangent is 0 only on the tMin side and interpolation is linear on the tMax side.

Table of Contents

Related product manuals