Created an add-on for openFrameworks to do time-baed interpolation easily.
Download from this Github repository.
Usage
Create Instance
ofxTimedInterpolation timer
Bang(start) it
timer.bang(2000); // count 2000msec
Get value
float val = timer.get(); //Value is 0.0~1.0
Besides,
- Overbang(restart)
- Stop
are also available. See examples.