ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

ease function

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
alon hadar
ease function
on Dec 1, 2011 at 6:01:36 pm

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

Roland R. Kahlenberg
Re: ease function
on Dec 2, 2011 at 3:25:50 am

The COW's AE Expression Forum will provide you with a more definitive answer. Till then, my thoughts are that the 'action' will be better accessed using an Expression Control Checkbox instead of a slider.

Hmmm, to be honest with you, with only two KFs, I'd much rather jump into the Graph Editor.

HTH
RoRK

Intensive AE & Mocha Training in Singapore and Malaysia
Adobe ACE/ACI (version 7) & Imagineer Systems Inc Approved Mocha Trainer


Return to posts index

alon hadar
Re: ease function
on Dec 3, 2011 at 6:39:12 pm

thanks, i'll try posting it Again in the AE Expression Forum.


Return to posts index

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