ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Change linear animation to EasyIn in expression

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Gonzalo Tórtola
Change linear animation to EasyIn in expression
on Mar 14, 2017 at 1:34:08 am
Last Edited By Gonzalo Tórtola on Mar 14, 2017 at 3:15:18 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 &lt; key(4).time)
x = linear(time,key(3).time,key(4).time,key(3).value[0],sVal)
else if (time &lt; key(5).time)
x = sVal
else
x = linear(time,key(5).time,key(5).time,sVal,key(6).value[0]);
[x,value[1]]


Return to posts index

Dan Ebberts
Re: Change linear animation to EasyIn in expression
on Mar 14, 2017 at 4:04:07 am

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

Dan



Return to posts index

Gonzalo Tórtola
Re: Change linear animation to EasyIn in expression
on Mar 14, 2017 at 4:20:23 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!


Return to posts index


David Cabestany
Re: Change linear animation to EasyIn in expression
on Aug 10, 2017 at 3:36:59 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?



Return to posts index

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