SIGN IN
::
SPONSORS
::
ABOUT US
::
CONTACT US
FORUMS
TUTORIALS
MAGAZINE
TRAINING
VIDEOS - REELS
PODCASTS
EVENTS
SERVICES
NEWSLETTER
NEWS
BLOGS
ADOBE AFTER EFFECTS:
Home
Forum
Basics
Expressions
Tutorials
Podcasts
Motion Graphics
Training
Cinema 4D
FAQ
Bezier curve made from four null layers
Cow Forums
:
Adobe After Effects Expressions
VIEW POSTS
•
ADD A NEW POST
•
SEARCH
•
CHANGE FORUM
Respond to this post
•
Return to posts index
•
Read entire thread
Bezier curve made from four null layers
by
Patrick Deen
on Aug 4, 2007 at 8:43:10 pm
I found exactly what I need at Dan Ebberts' AE expressionslab.
The thing is I can use it as is but I'd like to understand what's going on in the formula.
Can someone give some insight on the inner workings of this formula?
It is probably derived from an excisting math-formula (like the abc)
A link to the math itself would be sufficient also...
// Dans' code;
N1 = thisComp.layer("Null 1");
N2 = thisComp.layer("Null 2");
N3 = thisComp.layer("Null 3");
N4 = thisComp.layer("Null 4");
p0 = N1.position;
p1 = N2.toWorld(N2.anchorPoint);
p2 = N3.toWorld(N3.anchorPoint);
p3 = N4.position;
c = 3*(p1 - p0);
b = 3*(p2 - p1) - c;
a = p3 - p0 - c - b;
t = index/(thisComp.numLayers - 3);
((a*t +b )*t + c)*t + p0 // THIS IS WHAT I'M TALKING ABOUT
THNX in advance. And Dan... A big thanks for the bezier-curve script, superb!
PS: My use for this expression is a plant like object made out of segments. The fact that the segments stick to the beziercurve makes it possible to move the curve in 3Dspace. VERY NICE !
Unlike the snake and follow setups where the leader needs to be in constant motion to avoid the slaves/followers from catchingup. And you can't animate that curve... only follow it.
Respond to this post
•
Return to posts index
•
Read entire thread
Current Message Thread:
Bezier curve made from four null layers
by Patrick Deen on Aug 4, 2007 at 8:43:10 pm
Re: Bezier curve made from four null layers
by Dan Ebberts on Aug 4, 2007 at 10:17:22 pm
Re: Bezier curve made from four null layers
by Patrick Deen on Aug 5, 2007 at 6:32:55 am
Note:
If you are a registered user please
click here to login
before posting.
Your post will not be accepted if your name and email address are not registered in our database. Click
here
if you do not have an account.
Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message
Entire Thread
None
Message:
Note:
The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key.
Read more...
Please post Expressions Code in the box below:
Add your message signature
Note:
By clicking "Post Direct" button above, you are agreeing to the Creative Cow's
Code of Conduct
.
FORUMS
•
TUTORIALS
•
MAGAZINE
•
TRAINING
•
VIDEOS - REELS
•
PODCASTS
•
EVENTS
•
SERVICES
•
NEWSLETTER
•
NEWS
•
BLOGS
©
CreativeCOW.net
All rights are reserved.
[
Top
]