FORUMS: list search recent posts

An elliptical path into the screen?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Vishal Medepalli
An elliptical path into the screen?
on Dec 20, 2011 at 6:56:38 pm

I want to move an object in an elliptical path that goes into the screen and comes out, like our solar system, planet revolving around the sun, but seen from a different angle? How can I do this? please help.

Thank you.


Return to posts index

Dan Ebberts
Re: An elliptical path into the screen?
on Dec 20, 2011 at 7:14:52 pm

You could use the parametric equation for an ellipse to get motion in the x/z plane, like this:

center = [thisComp.width/2,thisComp.height/2,0];
freq = .5;
rx = 200;
rz = 300;
angle = freq*time*Math.PI*2;
x = rx*Math.cos(angle);
z = rz*Math.sin(angle);
center + [x,0,z]


Dan



Return to posts index

Kevin Camp
Re: An elliptical path into the screen?
on Dec 20, 2011 at 7:17:35 pm

a fairly easy way would be to create the elliptical path on a solid or null and get it the way that you want (double-clicking any point will allow you to stretch a circular path into an ellipse). you could layout several ellipses on the same layer this way, if needed.

once you have the ellipse, you can select its mask path and copy it and paste it into the position property of a layer and the layer will follow that path.

to get different angles (rather than the top-down angle), you'd just make the layer 3d, add a camera and use the camera orbit tool to get different angles. you may also want to enable auto-orient towards the camera (layer>transform>auto-orient).

Kevin Camp
Senior Designer
KCPQ, KMYQ & KRCW


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]