Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions inverted ease()?

  • Posted by Micheel Leavitt on September 6, 2009 at 4:36 pm

    Hate to bug you guys again, but I’m curious to know if there is a way to sort of invert(right word?) the ease() function. Instead of starting fast and ending fast, I wanted to start slow, speed up, and then slow down. Is this possible? Any help on this would be great, thanks a lot guys for being here for odd questions like this!

    Filip Vandueren replied 16 years, 8 months ago 3 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    September 6, 2009 at 8:39 pm

    I think ease() already works that way – starts slow, speeds up, slows down at the end.

    Dan

  • Micheel Leavitt

    September 6, 2009 at 10:00 pm

    hahaha, ya it does. << Feels stupid. Thanks again Dan.

  • Filip Vandueren

    September 7, 2009 at 12:32 am

    For future reference,

    an inverted ease() would work something like this:

    tMin=0;
    tMax=2;
    value1=[-100,0];
    value2=[100,0];

    tHalf=(tMin+tMax)/2;
    valueHalf=(value1+value2)/2;

    inv_ease = time < tHalf ? easeOut(time,tMin,tHalf,value1,valueHalf) : easeIn(time,tHalf,tMax,valueHalf,value2);

    value+inv_ease;

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy