ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

How do I add a text delay to my bounce animation

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Kimberley Russell
How do I add a text delay to my bounce animation
on Jul 19, 2017 at 6:49:39 pm

Hello,

I've found myself a bit of code that works really well for the bounce movement that I want on my text, but I can't figure out how to add a text delay expression to it, to get the letters to appear in a separate uniform manner and I absolutely loath the idea of having to animate each and every letter separately on different layers. When I looked into it I kept getting expressions for scale, but I want mine on position is this possible?

Thanks

nearestKeyIndex = 0;

if (numKeys > 0){
nearestKeyIndex = nearestKey(time).index;

if (key(nearestKeyIndex).time > time){
nearestKeyIndex--;
}
}

if (nearestKeyIndex == 0) {
currentTime = 0;
} else {
currentTime = time - key(nearestKeyIndex).time;
}

if (nearestKeyIndex > 0 && currentTime &lt; 1) {
calculatedVelocity = velocityAtTime(key(nearestKeyIndex).time - thisComp.frameDuration / 10);
amplitude = 0.1;
frequency = 2.0;
decay = 4.0;
value + calculatedVelocity * amplitude * Math.sin(frequency * currentTime * 2 * Math.PI) / Math.exp(decay * currentTime);
} else {
value;
}


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]