hxease 1.0.0

Easing functions for Haxe

Released 2016-07-23.

To install, run:

haxelib install hxease 1.0.0

See using Haxelib in Haxelib documentation for more information.

Maintainereliasku
Websitehttps://github.com/eliasku/hxease
Current version1.0.0
StatisticsInstalled 12 times
LicenseMIT
Tags

README.md

hxease

Build Status Build status

Lang Version Dependencies License

Ease functions for Haxe

Usage examples

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();

TODO

  1. custom curves
  2. tools for ratio manipulations