SketchPad

Some web space to sketch, doodle and make notes. Made using these tools. See more of my work here.

Daily Sketches

Sketch 2015-06-11

        void ofApp::setupAnim() {
    fontSize = 64;
    loadFonts();
    quarterHeight = halfHeight * 0.5;
}

void ofApp::updateAnim(){
    if(ofGetFrameNum() % 3 == 0) {
        random_shuffle(fonts.begin(), fonts.end());
    }
}

void ofApp::drawAnim() {
    ofBackground(ofColor::black);
    ofSetColor(ofColor::white);

    ofSetRectMode(OF_RECTMODE_CENTER);
    fonts.at(0).drawStringCentered("THREE", halfWidth, quarterHeight);
    fonts.at(1).drawStringCentered("DAYS", halfWidth, halfHeight + quarterHeight);
    ofSetRectMode(OF_RECTMODE_CORNER);

    if(ofGetFrameNum() == 60) {
        renderGif();
    }
}
    

Three days...

Daily sketch