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

Is it possible to have an animation execute every x number of frames?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook
Ryan PatersonIs it possible to have an animation execute every x number of frames?
by on Apr 16, 2012 at 5:53:22 pm

Wondering if there's a way with expressions to trigger an animation every x number of frames.

For example, if I want to move a layer 800px on the Y axis, over a duration of 10 frames, and I want this to happen every 24 frames, how would I code that?

I accomplished something similar with the loopOut("offset") function, just wondering if there's a non-keyframe way of doing it


Return to posts index
Reply   Like  

Dan EbbertsRe: Is it possible to have an animation execute every x number of frames?
by on Apr 16, 2012 at 6:36:37 pm

Something like this should work:

f = timeToFrames(time-inPoint);
seg = Math.floor(f/24);
f2 = f%24;
y = seg*800 + linear(f2,0,10,0,800);
value + [0,y]


Dan



Return to posts index
Reply   Like  

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook


FORUMSTUTORIALSMAGAZINESTOCKYARDVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

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

[Top]