@Ha99 wrote:
Hello, I am trying to create a colour generator by using ofGetFrameNum() however, the colour stops at white which nothing shows. Is there any way the colour keeps printing?
This is the code:
void ofApp::update(){
ofSetColor(10+ofGetFrameNum()/10,20+ofGetFrameNum()/20,10+ofGetFrameNum()/15);
}
thanks!
Posts: 3
Participants: 2