ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Curves Equations

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Pedro AmaralCurves Equations
by on Aug 27, 2014 at 5:33:49 pm

Hello,

Is there a way to get the equations from the graphics curves in the graph editor?

Thanks


Return to posts index

Dave LaRondeRe: Curves Equations
by on Aug 27, 2014 at 5:36:49 pm
Last Edited By Dave LaRonde on Aug 27, 2014 at 6:19:58 pm

How do you plan to use them? As far as I know, there's no way to get equations from those curves.

Dave LaRonde
Promotion Producer
KGAN (CBS) & KFXA (Fox) Cedar Rapids, IA


Return to posts index

Pedro AmaralRe: Curves Equations
by on Aug 28, 2014 at 9:19:35 am

Hi Dave,

I'd like to provide the exact animation data to the developers team.
To match the exact curves that I am using in my animations they need the equations for it.


Return to posts index


Kevin CampRe: Curves Equations
by on Aug 28, 2014 at 3:29:55 pm

you can save the curve data from the effect controls palette... not sure if the equation they need is in there, but you could give that a try -- it makes sense that it would be, but i don't know if the data will be the way they would expect it.

Kevin Camp
Art Director
KCPQ, KZJO & KRCW


Return to posts index

Brian CharlesRe: Curves Equations
by on Aug 28, 2014 at 3:39:24 pm

If the curves in question are position or rotation keyframe data from the graph editor (and not the Curves effect) I think the only option is to make a record of the coordinates frame-by-frame. Tedious no doubt, but frame accurate.



Return to posts index

Kevin CampRe: Curves Equations
by on Aug 28, 2014 at 4:10:23 pm

doh!

no doubt pedro was asking for a animation curve... an easy way to record each keyframe is to add an expression to the property, keeping the default expression, then choose animation>keyframe assistant>convert expression to keyframes.

then you can select those keyframes and copy/paste them into a text file.

it won't give you a calculation, but they may be able to use the keyframe data to match the animation you have in ae.

Kevin Camp
Art Director
KCPQ, KZJO & KRCW


Return to posts index


Pedro AmaralRe: Curves Equations
by on Aug 28, 2014 at 10:40:28 pm

Hey Kevin,

Thanks for your replies, I was not that clear in my question.

Indeed it was related with the curves in the graph editor.
I will try that, getting the keyframe data and show them to see if they can do anything with it, although I have a feeling they are expecting the whole recipe for the magic.

I've found this thread ( http://forums.creativecow.net/thread/227/11974 ) while looking for answers here in Creative cow, its not exactly what I am looking for but it is damn interesting.

Thanks for all the help and suggestions


Return to posts index

Pedro AmaralRe: Curves Equations
by on Aug 28, 2014 at 10:27:55 pm

Hi Brian,

Yes, most of the animations are for Position and Scale, and in a few cases related with one or another effect.
It is exactly the curves from the graph editor that I need to provide.

From what I've been told there are pre-made equations for a couple curves (I suppose it will be something like in this site http://easings.net) and by sending them a print screen of my AE curves they have been able to simulate the same animation based on this pre-made equations which made things a lot easier.

The problem, I think, comes when the curves are a bit more complex or need to match exactly what I am doing in AE.


Return to posts index

Walter SoykaRe: Curves Equations
by on Aug 29, 2014 at 1:23:52 pm

Pedro, animation curves are not specified by equations; they are Bezier curves [link].

To see how a Bezier curve is drawn according to its control points and handles, check out these animations on Wikipedia [link].

You can extract the data necessary to recreate this via Ae's scripting, but Kevin's solution of baking the animation down to keyframes may be the simplest.

Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]


Return to posts index


Pedro AmaralRe: Curves Equations
by on Sep 9, 2014 at 7:21:37 am

Hi Walter,

Thank you so much for your reply and the useful links.

I´m not big of a mathematician and know very little of coding, but I suppose they needed what they called as equations, to build the exact bezier curves I had on my animations as I don´t think they can simply draw them, they need to use their values in order to calculate and build them through the code.

I did sent them the keyframe information as suggested above but in the end they decided not to go into so much detail so they kind of tricked it and matched the animations by eye.

Anyway, thanks for the links, it's useful to understand how these things are built.


Return to posts index

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