You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
327 B
23 lines
327 B
import processing.serial.*;
|
|
import processing.video.*;
|
|
|
|
Capture video;
|
|
|
|
int videoWidth = 640;
|
|
int videoHeight = 480;
|
|
|
|
void setup() {
|
|
size(640, 480);
|
|
frameRate(10);
|
|
colorMode(HSB, 100, 100, 100);
|
|
|
|
|
|
video = new Capture(this, width, height);
|
|
video.start();
|
|
|
|
background(0);
|
|
}
|
|
|
|
void draw() {
|
|
ephPercentage();
|
|
}
|