FORUMS: list search recent posts

ease expression

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
alon hadar
ease expression
on Dec 3, 2011 at 6:54:01 pm

I was referred here from adobe after effects forum, hope you guys will have an answer to me.
in my job I use a lot of the time the ease function (ease(time, tmin, tmax, value1, value2)). The guys here are not satisfied with the limited possibilities of easing in this function.
Is it possible to connect the interpoltion graph to the function and yet keep its featurs for start and ending timing and values.For example, to ease between the two keyframes on a diffrent layer and connect the graph to the function in such a way that the graph will shrink and stretch accordingly. here is an example for an expression i use alot.
thank you

w=thisComp.layer("Controls").effect("Width")("Slider");
h=thisComp.layer("Controls").effect("Height")("Slider");
i=thisComp.layer("Controls").marker.key(1).time;
o=thisComp.layer("Controls").marker.key(2).time;
action=thisComp.layer("marker index").effect("Maker index inOut")("Slider");
if (action==1){

[ease(time,i,i+0.8,781,467-w),ease(time,i+0.9,i+1.5,467,467-h)];}
else {[781,467]; }

if (action==2){

[ease(time,o+0.6,o+1,467-w,781),ease(time,o,o+0.5,467-h,467)];}


Return to posts index

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