I have this function that acts as an ease-in:
protected static function easeIn(ratio:Number):Number {
return ratio * ratio * ratio;
}
Ratio is a value between 0 and 1.
The function works okay, but I'd like to make it a bit less "jumpy." I mean, it accelerates too fast and abruptly slows down.
However I'm not sure what values should I play around to achieve what I want, does anyone know?
ratiolinearly changed from 0 to 1 or back and this function determines the actual transparency level or whatever? If so, what are the "values" you can play around with? And I'd be surprised that the acceleration is faster in the beginning than at the end. If it's supposed to be an iterative function then it can't work like that. Maybe play around a bit here wolframalpha.com/input/?i=y%3Dx%5E3%2C+where+0%3C%3Dx%3C%3D1 or have a look at this? easings.net \$\endgroup\$