Updated video examples to reflect new library and class names

This commit is contained in:
codeanticode
2011-08-18 22:32:09 +00:00
parent 88deee7566
commit 57ad715fcf
23 changed files with 210 additions and 214 deletions
@@ -12,19 +12,18 @@
* Created December 2006.
* Updated June 2007 by fry.
*/
import codeanticode.gsvideo.*;
import processing.video.*;
GSCapture video;
Capture video;
int videoSliceX;
int drawPositionX;
void setup() {
size(600, 240);
// Uses the default video input, see the reference if this causes an error
video = new GSCapture(this, 320, 240);
video = new Capture(this, 320, 240);
video.start();
videoSliceX = video.width / 2;