mirror of
https://github.com/processing/processing4.git
synced 2026-01-30 03:41:15 +01:00
update capture example
This commit is contained in:
@@ -41,9 +41,9 @@ void setup() {
|
||||
void draw() {
|
||||
if (cam.available() == true) {
|
||||
cam.read();
|
||||
image(cam, 0, 0);
|
||||
// The following does the same, and is faster when just drawing the image
|
||||
// without any additional resizing, transformations, or tint.
|
||||
//set(0, 0, cam);
|
||||
}
|
||||
image(cam, 0, 0);
|
||||
// The following does the same, and is faster when just drawing the image
|
||||
// without any additional resizing, transformations, or tint.
|
||||
//set(0, 0, cam);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user