Adobe 12040118 - After Effects Standard Tutorial page 565

Help and tutorials
Hide thumbs Also See for 12040118 - After Effects Standard:
Table of Contents

Advertisement

Ian Haigh provides a script on
bounces—to properties.
Andrew Devis provides a
pair of video tutorials
with the Convert Audio To Keyframes command.
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 interpolation between value1 and value2 when tMin < t < tMax.
For example, this expression on the Opacity property causes Opacity values to ramp linearly from 20% to 80% over the time from 0 seconds to 6
seconds:
linear(time, 0, 6, 20, 80)
This method—like all of the Interpolation methods—can also be used to convert from one range of values to another. For example, this expression
on the Opacity property converts the Opacity values from the range 0%-100% to the range 20%-80%:
linear(value, 0, 100, 20, 80)
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.
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 with the same arguments, 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 with the same arguments, 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.
easeOut(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 value2 side and interpolation is linear on the value1 side.
easeOut(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 tMax side and interpolation is linear on the tMin side.
Color Conversion methods (expression reference)
Harry Frank provides a video tutorial on his
waves produced by the Radio Waves effect.
rgbToHsl(rgbaArray) Return type: Array [4].
Argument type: rgbaArray is an Array [4].
Converts a color in RGBA space to HSLA space. The input is an Array of normalized red, green, blue, and alpha channel values, all in the range
of 0.0 to 1.0. The resulting value is an Array of hue, saturation, lightness, and alpha channel values, also in the range of 0.0 to 1.0. Example:
rgbToHsl.effect("Change Color")("Color To Change")
hslToRgb(hslaArray) Return type: Array [4].
Argument type: hslaArray is an Array [4].
Converts a color in HSLA space to RGBA space. This conversion is the opposite of the conversion performed by the rgbToHsl method.
After Effects Scripts website
that you can use to easily apply advanced interpolation method expressions—such as
on the Creative COW website that show in detail how to use the linear expression method along
graymachine website
that shows how to use these color conversion methods to change the color of the
To the top

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

After effects

Table of Contents