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

Re: Scale Up the Down at Markers

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: Scale Up the Down at Markers
by on Jul 9, 2012 at 4:33:57 pm

Something like this should work:


numFrames = 5;
minVal = [85,85];
maxVal = [100,100];

n = marker.numKeys;
if (n > 1){
d = framesToTime(numFrames);
t1 = marker.key(1).time;
t2 = marker.key(2).time;
if (time < (t1+t2)/2)
ease(time,t1,t1+d,minVal,maxVal)
else
ease(time,t2,t2+d,maxVal,minVal);
}else
value



Dan



Posts IndexRead Thread
Reply   Like  
Share on Facebook


Current Message Thread:




LOGIN TO REPLY



FORUMSTUTORIALSMAGAZINESTOCKYARDVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

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

[Top]