Skip to content

Instantly share code, notes, and snippets.

@madc
Created August 27, 2013 20:27
Show Gist options
  • Save madc/6358717 to your computer and use it in GitHub Desktop.
Save madc/6358717 to your computer and use it in GitHub Desktop.
Draw the current frame rate on the screen.
void testApp::draw(){
ofSetColor(0);
ofDrawBitmapString("FPS: " + ofToString((int)ofGetFrameRate()), 20, 20);
// [...]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment