move video capture examples back to default renderer due to GL bug

This commit is contained in:
Ben Fry
2013-06-03 16:20:18 -04:00
parent 74d6b3732e
commit f5b170cc70
15 changed files with 16 additions and 16 deletions
@@ -27,7 +27,7 @@ float fontSize = 1.5;
void setup() {
size(640, 480, P2D);
size(640, 480);
// This the default video input, see the GettingStartedCapture
// example if it creates an error
@@ -14,11 +14,11 @@ int[] backgroundPixels;
Capture video;
void setup() {
size(640, 480, P2D);
size(640, 480);
// This the default video input, see the GettingStartedCapture
// example if it creates an error
video = new Capture(this, 160, 120);
//video = new Capture(this, 160, 120);
video = new Capture(this, width, height);
// Start capturing the images from the camera
@@ -15,7 +15,7 @@ int numPixels;
Capture video;
void setup() {
size(640, 480, P2D); // Change size to 320 x 240 if too slow at 640 x 480
size(640, 480); // Change size to 320 x 240 if too slow at 640 x 480
strokeWeight(5);
// This the default video input, see the GettingStartedCapture
@@ -11,7 +11,7 @@ import processing.video.*;
Capture video;
void setup() {
size(640, 480, P2D);
size(640, 480);
// Uses the default video input, see the reference if this causes an error
video = new Capture(this, width, height);
video.start();
@@ -20,7 +20,7 @@ int[] bright;
int increment = 5;
void setup() {
size(800, 600, P2D);
size(800, 600);
// This the default video input, see the GettingStartedCapture
// example if it creates an error
@@ -13,7 +13,7 @@ int[] previousFrame;
Capture video;
void setup() {
size(640, 480, P2D);
size(640, 480);
// This the default video input, see the GettingStartedCapture
// example if it creates an error
@@ -18,7 +18,7 @@ int[] scoot;
void setup() {
size(640, 480, P2D);
size(640, 480);
// This the default video input, see the GettingStartedCapture
// example if it creates an error
@@ -9,7 +9,7 @@ import processing.video.*;
Capture cam;
void setup() {
size(640, 480, P2D);
size(640, 480);
String[] cameras = Capture.list();
@@ -16,7 +16,7 @@ int buffer[];
void setup() {
size(600, 400, P2D);
size(600, 400);
// This the default video input, see the GettingStartedCapture
// example if it creates an error
@@ -17,7 +17,7 @@ Capture video;
void setup() {
size(640, 480, P2D);
size(640, 480);
frameRate(30);
cols = width / cellSize;
rows = height / cellSize;
@@ -16,7 +16,7 @@ Capture video;
void setup() {
size(640, 480, P2D);
size(640, 480);
// Set up columns and rows
cols = width / cellSize;
rows = height / cellSize;
@@ -19,7 +19,7 @@ int angles[];
void setup() {
// size must be set to video.width*video.height*2 in both directions
size(600, 600, P2D);
size(600, 600);
// This the default video input, see the GettingStartedCapture
// example if it creates an error
@@ -17,7 +17,7 @@ int videoSliceX;
int drawPositionX;
void setup() {
size(600, 240, P2D);
size(600, 240);
// This the default video input, see the GettingStartedCapture
// example if it creates an error