The very first thing to code is to set up the global attributes: the project's window title, screen size, rendering frame rate, and background color. To achieve this, add the following lines to the
ofApp::setup() function's body in the
ofSetWindowTitle( "Video synth" ); ofSetWindowShape( 1280, 720 ); ofSetFrameRate( 60 ); ofBackground( ofColor::white );
Downloading the example code
You can download the example code files from your account at http://www.packtpub.com for all the Packt Publishing books you have purchased. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.
This code consists of calling four openFrameworks ...