This file contains hidden or 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 "ofMain.h" | |
#include "ofApp.h" | |
int main() | |
{ | |
ofSetupOpenGL(1280, 720, OF_WINDOW); | |
ofRunApp(new ofApp()); | |
} |
This file contains hidden or 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 "ofMain.h" | |
#include "ofApp.h" | |
int main() | |
{ | |
ofSetupOpenGL(1920, 1080, OF_WINDOW); | |
ofRunApp(new ofApp()); | |
} |
This file contains hidden or 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 "ofMain.h" | |
#include "ofApp.h" | |
int main() | |
{ | |
ofSetupOpenGL(512, 512, OF_WINDOW); | |
ofRunApp(new ofApp()); | |
} |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<svg | |
... | |
height="512" | |
width="512"> | |
... | |
<g | |
transform="translate(0,-161.53332)" | |
id="layer1"> | |
<circle |
This file contains hidden or 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
PImage shapes; | |
void settings() { | |
size(512, 512); | |
} | |
void setup() | |
{ | |
shapes = loadImage("shapes.png"); | |
} |
This file contains hidden or 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
sfInfo.frames = audioDecoder.getNumFrames(); | |
sfInfo.samplerate = audioDecoder.getSampleRate(); | |
sfInfo.channels = audioDecoder.getChannels(); | |
sfInfo.format = SF_FORMAT_WAV; | |
sfInfo.sections = 1; | |
sfInfo.seekable = SF_TRUE; | |
SNDFILE * f = sf_open(ofToDataPath("testies.wav", true).c_str(), SFM_WRITE, &sfInfo); | |
// int err = sf_error(f); |
NewerOlder