Color conversion methods, Other math methods – Adobe After Effects CS3 User Manual
Page 571

AFTER EFFECTS CS3
User Guide
566
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.
See also
“Automatically ease speed” on page 217
Color Conversion methods
Harry Frank provides a video tutorial that shows how to use these color conversion methods to change the color of
the 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 is the opposite of
rgbToHsl
.
Other Math methods
degreesToRadians(degrees)
Return type: Number.
Argument type: degrees is a Number.
Converts degrees to radians.