/*
Ikincil Kamera
Cagri Zaman
31 Aralik 09
*/
import processing.video.*;
Capture bir; //kamera nesneleri
Capture iki;
String[] captureDevices;
void setup(){
size(1280,480 );
print(Capture.list());
captureDevices = Capture.list();
bir=new Capture(this,640,480,30);
bir.settings();
iki=new Capture(this,640,480,30);
iki.settings();
}
void draw(){
if(bir.available()){
bir.read();
image(bir,0,0);
}
if(iki.available()){
iki.read();
image(iki,640,0);
}
}
Hiç yorum yok:
Yorum Gönder