← Back

ofxEasing

github.com/arturoc/ofxEasing · @arturoc
OF 0.10 Animation

Easing equations addon for openFrameworks. Replaces the deprecated ofxTween

94 19 Last commit 8y ago Created 10y ago

Forks

Forks pushed to more recently than arturoc/ofxEasing itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.

ffunatsu/ofxEasing by @ffunatsu · ★ 0 · pushed 1y ago
tgfrerer/ofxEasing by @tgfrerer · ★ 0 · pushed 4y ago

README

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


Get this addon

HTTPS
SSH