← Back

ofxControlUtils

github.com/nightshining/ofxControlUtils · @nightshining
OF 0.9 Utilities

Addon for commonly used utility functions

9 1 Last commit 10y ago Created 11y ago

README

ofxControlUtils

Addon for commonly used utility functions

bool ticker(bool toggle, int interval);



int counter(bool increment, int maxValue);



int timer(int maxTime);



bool triggerOnEqual(int input, int compare);



bool stateCheck(float input, float thresh);



bool stateCheck(float input, float minThresh, float maxThresh);



float rampToggle(bool toggle, float speedUp, float speedDown);



float smoothData(vector<float> inputData, const int smoothAmt);



Get this addon

HTTPS
SSH