Skip to content

Instantly share code, notes, and snippets.

@StephanBaum
Created August 8, 2019 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save StephanBaum/001a9826561bb6f95a3b2dcf3fc7acb2 to your computer and use it in GitHub Desktop.
Save StephanBaum/001a9826561bb6f95a3b2dcf3fc7acb2 to your computer and use it in GitHub Desktop.
[Text Bounce] bouncing text expression #AE #text #expression
delay = .03;
myDelay = delay*textIndex;
t = (time - inPoint) - myDelay;
if (t >= 0){
freq =2;
amplitude = 50;
decay = 6.0;
s = amplitude*Math.cos(freq*t*2*Math.PI)/Math.exp(decay*t);
[s,s]
}else{
value
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment