Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Change linear animation to EasyIn in expression

  • Change linear animation to EasyIn in expression

    Posted by Gonzalo Tórtola on March 14, 2017 at 1:34 am

    So, here’s the problem: I want to change this LINEAR animation and turn it to EASY IN, but the problem is that I have linked keyframes 4 and 5 (SCALE: x axis) with a Slider.

    I WANNA CHANGE THAT LINEAR ANIMATION TO EASY IN . I DON’T KNOW IF THERE’S A WAY, BUT IF IT IS PLEASE HELP ME.

    This is the expression I’ve using and works perfect (thanks Dan Ebberts), but I wanna make the animation Easy In ->

    sVal = thisComp.layer("Control Panel").effect("Rectangle Scale [X]")("Slider");

    if (time < key(4).time)
    x = linear(time,key(3).time,key(4).time,key(3).value[0],sVal)
    else if (time < key(5).time)
    x = sVal
    else
    x = linear(time,key(5).time,key(5).time,sVal,key(6).value[0]);
    [x,value[1]]

    David Cabestany replied 8 years, 9 months ago 3 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    March 14, 2017 at 4:04 am

    I’m guessing you just need to change linear() to ease() or easeIn() or easeOut() depending on what you’re after exactly.

    Dan

  • Gonzalo Tórtola

    March 14, 2017 at 4:20 am

    Oh thanks so much!! My mistake was that I’ve been writing easyIn / easyOut not “ease”, so stupid! The animation is fine, but I want it to be like this curve… Is it possible?

    Looking for help… Looking for someone I can help!

  • David Cabestany

    August 10, 2017 at 3:36 pm

    I have the same issue, I need the blue curve to be like the pink curve, but easeIn gives an abrupt stop instead of an eased one like the keyframes, is there a function besides linear, ease, easeIn and easeOut that can achieve this?

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