We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 943bb5a commit 866aaf1Copy full SHA for 866aaf1
examples/Capture/BlackWhite/BlackWhite.pde
@@ -6,11 +6,10 @@ PShader bwShader;
6
7
void setup() {
8
9
- fullscreen(P2D);
+ fullScreen(P2D);
10
+ String[] list = Capture.list();
11
+ cap = new Capture(this, list[0]);
12
- cap = new Capture(this);
- String[] list = cap.list();
13
- cap.setCamera(list[0]);
14
cap.start();
15
bwShader = loadShader("fragmentShader.glsl");
16
}
@@ -19,4 +18,4 @@ void draw() {
19
18
cap.read();
20
shader(bwShader);
21
image(cap, 0, 0);
22
-}
+}
0 commit comments