Ease functions for Haxe
var ratio:Float = 0.5;
var easedValue:Float = 0;
// default easings usage
easedValue = Back.easeOut.calculate(ratio);
// make custom easing parameters
easedValue = new BackEaseOut(2.01).calculate(ratio);
// Float static extension with
// `using hxease.Tools`
easedValue = ratio.backOut().circIn();
- custom curves
- tools for
ratio
manipulations