Method
- set up webcam
- start Processing prog.
- set pixelsize in prog to 1
- saveFrame when frame is filled.
- press ‘run’
- go about and do your daily stuff
- after an hour or two, watch the result.
by Tjerk Timan
Circles in Processing

animated version:
Processing Circles Simple Math from tjerk timan on Vimeo.
code:

(still from video app described below)
(find software at www.processing.org)
import processing.video.*;
Capture myCapture;
int a=3; //stepsize x
int b=360; //stepsize y
int x=0;
int y=0;
int xres = 480;
int yres = 360;
int s = second();
void setup(){
size((2*xres+50) , yres);
myCapture = new Capture(this, xres, yres, 25);
}
void captureEvent(Capture myCapture) {
myCapture.read();
}
void draw(){
image(myCapture, 0, 0);
loadPixels();
if(true){
x+=a;
int dx = xres+50+x;
int dy =y;
copy(x,y, a, b, dx,dy, a, b);
if(x>xres){
x=0;
y+=b;
}
if(y>=yres) {
y=0;
saveFrame(”####.jpeg”);
}
}
}