@aliva666 wrote:
HI! i'm trying to program a simple strobe effect and handle the speed using knob midi here is my logic:
ofDrawRectangle(0, 0, ofGetWidth(), ofGetHeight());
ofSleepMillis(knobValue); ofSetColor(255); ofDrawRectangle(0, 0, ofGetWidth(), ofGetHeight()); ofSetColor(255);
I only get the first first color what i'm doing wrong? in the draw function , draw function suppose to loop right?
Posts: 1
Participants: 1