Expression Library

Text Bounce (Transition)

Author: Dan Ebberts

Animates in text from the layer in point with a bouncy wavy effect.

Code Sample

Hover over the code and click the copy button.

					delay = .1;
myDelay = delay*textIndex;
t = (time - inPoint) - myDelay;

if (t >= 0) {
  freq =3;
  amplitude = 40;
  decay = 12.0;
  s = amplitude*Math.cos(freq*t*2*Math.PI)/Math.exp(decay*t);
else {

Other Notes

From Dan Ebberts: “To get this to work, you would add a Scale Animator to your text layer, set the Scale value to zero percent, add an Expression Selector, (you can then delete the Range Selector), and finally, replace the default expression of the Expression Selector’s Amount property with” the expression below.