Skip to main content
Known Participant
July 27, 2019
Question

Custom ease() easing

  • July 27, 2019
  • 1 reply
  • 10958 views

Hello there!

so I'm making a keyframe less animation,

a very simple one.

just scaling in and out. (Well, for now. maybe it will be larger one day).

I already got the animation itself,

but i want different easing.

any idea?

thats the code

ease(time,inPoint,inPoint+1,[-100,-100],[0,0])+ ease(time,inPoint+1,inPoint+2,[100,100],[0,0]);

1 reply

Justin Taylor-Hyper Brew
Community Expert
Community Expert
July 28, 2019

The built-in easings are linear, ease, easeIn, easeOut, however, you can make any easing you want. If you search for easing functions in JavaScript you'll see a bunch of examples, however, you'll need to convert these to be used in an AE expression context.

My recommendation would be to check out Flow​, it's got a pretty awesome expression feature that a lot of people don't know about. Instead of applying easing to keyframes, you can toggle on the expression feature and then the easing will be applied as an expression to your keyfames. And then you can go in and modify values as needed, and even make it work without keyframes if you want.

zlovatt
Inspiring
August 14, 2019

+1 to Flow's easing expressions; this was a major reason why Flow was created in the first place

We give you the 25 presets each as an easing function, as well as the ability to use your custom curve in expressions.

Dan Ebberts
Community Expert
Community Expert
May 6, 2024

Before the expressions, an ease from Flow was applied. 
After the expression, however, I can't seem to replicate that ease (as shown in the 1st pic). 
So I tried applying the ease to expression from Flow and set it to 'Append' to read after the expression (hope that's right!?) 

 


Assuming that your expression does what you need (minus the ease) before you apply Flow, then I guess it would depend on how Flow incorporates your expression into its result. Have you tried posting a question on aescripts?