I want to make an animation that shrinks, let's say, a box. But I want it to shrink slowly in the beginning and accelerate from there. Something like Accelerate easing, as google calls it. (Scroll down to where it says "Accelerate easing")
I've made something that goes like:
Code: Select all
[!SetVariable PP (Clamp(#PP#-(#PP#*0.2),24,336))]
Obviously my solution wouldn't work as (#PP#*0.2) is linear y=a*x type, and I need it to be exponential e^(x) type but reversed...
This doesn't work either: (Clamp(#PP#-(1/(e**(#PP#))),24,336))]
NOTE: I don't want another action timer that creates another variable to replace that term that increases.
EDIT: In CSS this translates to
Code: Select all
cubic-bezier(0.4, 0.0, 1, 1);
-Thanks in advance.