Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US :: FAQ
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE AFTER EFFECTS:HomeForumBasicsExpressionsTutorialsPodcastsAE TechniquesCreative Cloud DebateFAQ

Re: text animator triggered by comp marker

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Share on Facebook
Respond to this post   •   Return to posts index   •   Read entire thread


Dan EbbertsRe: text animator triggered by comp marker
by on Jun 14, 2012 at 5:25:16 am

I'm not sure if this is what you're after, but it might get you headed in the right direction. Set your Scale Animator amount to 0% and apply this expression:


m = thisComp.marker;
n = 0;
if (m.numKeys > 0){
n = m.nearestKey(time).index;
if (m.key(n).time > time) n--;
}
if (n > 0){
t = time - m.key(n).time;
startVal = 0;
endVal = 100;
dur = 0.1;
if (t < dur){
s = linear(t,0,dur,startVal,endVal)
}else{
amp = (endVal - startVal)/dur;
freq = 3;
decay = 5;
w = freq*Math.PI*2;
s = endVal + amp*Math.sin((t-dur)*w)/Math.exp(decay*(t-dur))/w
}
[s,s]
}else
value



Dan



Posts IndexRead Thread
Reply   Like  
Share on Facebook


Current Message Thread:




LOGIN TO REPLY



FORUMSTUTORIALSFEATURESVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2014 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]