Skip to content

2bbb/ofxFunctionalEasing

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 

ofxFunctionalEasing

oF 0.9~

How to use

// TODO:

string ofxFunctionalEasing(function<void(float progress)> easing,
                           float duration,
                           const string &label,
                           const function<void(const string &label)> &callback)

string ofxFunctionalEasing(function<void(float progress)> easing,
                           float duration,
                           float delay,
                           const string &label,
                           const function<void(const string &label)> &callback)

if you don't give label, we will give quasi-unique label automatically.

do nothing when finished if you don't give callback.

return value is label will give to callback (or quasi-unique label).

please see ofxFunctionalEasingExample.

Update history

2015/09/21 ver 0.0.1 release

  • initial

License

MIT License.

Author

At the last

Please create a new issue if there is a problem. And please throw a pull request if you have a cool idea!!