Activity › Forums › Adobe After Effects Expressions › Per Character Bounce Scale
-
Dan Ebberts
August 18, 2011 at 1:52 pmDid you just want a delay that increases for each character? That would look like this:
delay = .1;
myDelay = delay*textIndex;
t = (time - inPoint) - myDelay;
if (t >= 0){
freq =3;
amplitude = -100;
decay = 1.0;
s = amplitude*Math.cos(freq*t*2*Math.PI)/Math.exp(decay*t);
[s,s]
}else{
value
}
Dan
-
Jake Williams
June 24, 2013 at 3:55 amGreat expressions Dan!
I’ve been tweaking the expression to attempt to get a “Back” sort of animation where a word starts at 0, overshoots it’s scale, then settles back at it’s regular size. Would there be a way to tweak the expression so that it only does the one motion and stops bouncing?
-Jake
-
Dan Ebberts
June 24, 2013 at 4:19 amI’d say start with something like this:
delay = .1;
myDelay = delay*textIndex;
t = (time - inPoint) - myDelay;
if (t >= 0){
freq =2;
amplitude = -200;
decay = 15;
s = amplitude*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t);
[s,s]
}else{
value
}
Dan
-
Jake Williams
June 24, 2013 at 2:58 pmThanks Dan, this is a great place to start. I think I can tweak it from here!
Much appreciated.
-Jake
-
Andrea Digiorgio
October 18, 2013 at 3:16 pmHi, i have a question about. I used it for “animate in” a word and it works, is there a way to “animate out”? I tried but maybe i don’t know what is the parameter to set.
Thanks
-
Federico Cocheo filetti
October 19, 2013 at 8:42 amYou have to duplicate the entire animator and then all you need to do is change the the “t” variable from:”t = (time – inPoint) – myDelay;”
to “t = (outPoint – myDelay) – time;”.Hope it helped! 😛
-
Chad Shack
January 8, 2014 at 3:50 pm -
Dan Ebberts
January 8, 2014 at 6:15 pmFor scale, I think you’d want something more like the second expression in the Calculation Overshoot section of this article:
https://www.motionscript.com/articles/bounce-and-overshoot.html#calc-overshoot
Dan
-
Jaqai Mickelsen
November 5, 2014 at 1:19 pmThis string has been an amazing help. So, two things.
First, thank you very much. I’m waaaaay closer now than I was when I started, all thanks to you.
Second, in the digging I’ve done around these here internets, to use an expression with text animators, you’re pretty much getting rid of the range selector. I’m curious to know if there’s a way to have the best of both worlds?
In short, I’m matching the words up with what is being said by a voiceover, so I’d love to be able to get in there and tweak the timing for “per word bounce out” alignment.
Think William Shatner as Captain Kirk delivering a line. Is there a way to easily align the triggers for each word’s bounce out animation to align with when it’s being said?
Reply to this Discussion! Login or Sign Up
