Created
December 13, 2018 18:51
-
-
Save microcosm/3d10f0862e5cdef7f94af883e951f312 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ofApp.h" | |
/* Begin description | |
{ | |
//Write your description here | |
} | |
End description */ | |
/* Snippet begin */ | |
void ofApp::setup(){ | |
ofSetWindowShape(500, 500); | |
gif.setup("out/filename", 12); //Change 12 to the number of frames you want | |
//Add other setup you want | |
} | |
void ofApp::update(){ | |
//Updates you want in here | |
} | |
void ofApp::draw(){ | |
gif.begin(); | |
{ | |
//Draw what you want in here | |
} | |
gif.endCaptureDraw(); | |
} | |
/* Snippet end */ | |
void ofApp::other(){ | |
//Code you don't... | |
} | |
void ofApp::things(){ | |
//...want in the published snippet | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment