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

Offset keyframes randomly

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook
Hannes PaulssonOffset keyframes randomly
by on Sep 8, 2011 at 10:13:47 am

Hi!

I have a comp with 256 different precomps (made another thread about this project a few days ago).
All of these comps needs to rotate on the y-axis to 180 degrees. The thing is I don't want them all to rotate at the same time, it is supposed to look random. What I have done is to animate the rotation on all of the precomps at the same time, and what I'm looking for is an expression that I could add that would offset these animations randomly by about 10 frames. I cannot offset the comps them self in time, since they all contains an animation that needs to be sync.

I think this should be quite simple, just a short expression on the rotation value?


Return to posts index
Reply   Like  


Dan EbbertsRe: Offset keyframes randomly
by on Sep 8, 2011 at 1:18:24 pm

Try this:

maxOffset = 10; // frames
seedRandom(index,true);
offset = framesToTime(random(maxOffset));
valueAtTime(time-offset)


Dan



Return to posts index
Reply   Like  
+1

Hannes PaulssonRe: Offset keyframes randomly
by on Sep 8, 2011 at 1:23:44 pm

Awesome, works like a charm!

Thanks again 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]