Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
/ ofxEasing Public archive
forked from arturoc/ofxEasing

Easing equations addon for openFrameworks. Replaces the deprecated ofxTween

License

Notifications You must be signed in to change notification settings

Entropy/ofxEasing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Easing equations addon for openFrameworks. Replaces the deprecated ofxTween

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 89.2%
  • HTML 10.7%
  • Makefile 0.1%