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: joining an orbit

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


Declan SmithRe: joining an orbit
by on Mar 19, 2012 at 9:25:20 pm

One potential method is:

1. Create a Mask to be the size of your orbit
2. Click on the Mask Path to select it, then copy it (edit->copy)
3. Now go to your smaller circle and select position and then paste.

What this does is paste a bunch of keyframes representing the circular motion path of the mask. You can then adjust the duration this plays out by spreading out the keyframes. You could have a completely different position animation prior to the orbiting keyframe, then ease into it. To have the other circles join is a matter of staggering the layers.

As this is the expressions forum, I guess its only right to have an expression, but from what you have said, I think the above method may suit better, possible not, but I'll leave that up to you.

To create a circular path with expressions, I have included a starter for 10. You would put this expression on the position property of the smaller circle. The First four lines are your variables which can be pickwhipped to sliders etc if needed or you can further derive their values. The radius is the radius of you orbit, the start angle is where on the orbit you want to start (from 0 -360), the speedmulitplier is how long (with that set to 1 it takes 36 seconds), and the centre is the centre of the orbit. I have set this to be the centre of the comp

radius=300;
startAngle=180;
speedMultiplier=100;
centre=[this_comp.width/2, this_comp.height/2];

angle = time * speedMultiplier + startAngle ;
x=radius * Math.cos(degreesToRadians(angle));
y=radius * Math.sin(degreesToRadians(angle));
add(centre,[x,y]);


Declan Smith
http://www.madpanic.tv
After Effects CS5.5/ FCS3 / Canon 7D / Canon XL2 / Reason / Cubase

"it's either binary or it's not"


Posts IndexRead Thread
Reply   Like  
Share on Facebook


Current Message Thread:
  • joining an orbit by Geoffrey Amend on Mar 19, 2012 at 7:35:36 pm
    • Re: joining an orbit by Declan Smith on Mar 19, 2012 at 9:25:20 pm




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]