Easing equations addon for openFrameworks. Replaces the deprecated ofxTween
C++ HTML Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example fix travis config to set OF_ROOT correctly and add addons.make to exa… Dec 11, 2016
example_plots
src
.appveyor.yml
.gitignore
.travis.yml
LICENSE
README.md testing travis cache Dec 14, 2016

README.md

ofxEasing

Build status

Build status

Replaces ofxTween with a simpler API and no external dependencies.

Usage:

using namespace ofxeasing;
map(value, minIn, maxIn, minOut, maxOut, linear::easeIn);

Some easing functions might have more parameters than the usual 4. Right now only the _s version of the back functions which indicate which proportion of the distance is done in the back trajectory. In those cases you can pass the extra parameter at the end of the map function like:

using namespace ofxeasing;
map(value, minIn, maxIn, minOut, maxOut, back::easeIn_s, 0.8);