ofxEasing
ofxEasing copied to clipboard
Easing equations addon for openFrameworks. Replaces the deprecated ofxTween
so the compiler doesn't complain no rule to process file '/Volumes/tool/ofw/addons/ofxEasing/src/easing_terms_of_use.html' of type 'file' for architecture 'arm64'
``` // example code #include "ofxEasing.h" enum EasingExtra { BackIn_s, BackOut_s, BackInOut_s, ElasticInPow, ElasticOutPow, ElasticInOutPow, }; float easing(float v, float minIn, float maxIn, float minOut, float maxOut, EasingExtra ease, float...
A suggestion of perhaps not including: - easingIn easingOut easingInOut for linear easign, since at the moment they seem to do exactly the same thing : return c*t/d + b....
Hi, thanks for the nice work! According to the following thread it seems that (t/=d) \* t is an undefined behavior. http://stackoverflow.com/questions/18729323/unsequenced-modification-and-access-to-parameter While I have no problem using this addon...