FORUMS: list search recent posts

Motion script realistic bounce and overshot

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
philibert patricot
Motion script realistic bounce and overshot
on Sep 18, 2014 at 8:04:47 pm

Hi guys,
Thanks to read my post.
I am new on expressions. I am working with the website motion, on the chapter realistic bounce and overshot when I write the following expression on the scale propriety:
freq = 3;
decay = 5;

t = time - inPoint;
startVal = [0,0];
endVal = [200,200];
dur = 0.1;
if (t < dur){
amp = (endVal - startVal)/dur;
w = freq*Math.PI*2;
endVal + amp*(Math.sin((t-dur)*w)/Math.exp(decay*(t-dur))/w);

An error message arrive:

After effects warning: expected:]
error occurred on ligne 5.

If you have some advices it ll be so kind.


Return to posts index

Roland R. Kahlenberg
Re: Motion script realistic bounce and overshot
on Sep 20, 2014 at 11:31:34 pm
Last Edited By Roland R. Kahlenberg on Sep 20, 2014 at 11:36:03 pm

Dan Ebberts, the owner of, helps out a lot at the COW's AE Expressions Forum. Further, the script works when I tried it. There could be something in your keyframes that's causing the issue. I suggest that you include information on the property you're animating and the version of AE you're using.

- Roland

TypeGEMs - the Definitive Type Gizmo for AE

Intensive mocha & AE Training in Singapore and Other Dangerous Locations
Adobe After Effects CC ACE/ACI
Imagineer Systems (mocha) Certified Instructor

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved