ofxTextSuite
ofxTextSuite copied to clipboard
It won't always draw text from an array

In void ofApp::draw() :
if (your_array.size() > 0) {
string str = your_array[int(floorf(fmodf(seconds*3.f, float(your_array.size()))))];
draw_text(0, 60, "str = " + str);
your_font2.setText(str); //It seems it doesn't draw uppercase letters.
your_font2.setColor(255, 255, 255, 255);
your_font2.drawCenter(float(ofGetWindowWidth()) / 2.f, float(ofGetWindowHeight()) / 2.f);
}