for Wednesday read the following PDF:
A link to the work of Joan Truckenbrod:
Below is the Processing code for a basic drawing machine:
int i;
void setup() {
size(320, 240);
background(255);
fill(0);
noStroke();
i=10;
}
void draw() {
i=int(random(50));
if (keyPressed) {
if (key == ‘b’ || key == ‘B’) {
i++;
if (i>50) {
i–;
}
}
if (key == ‘v’ || key == ‘V’) {
i–;
if (i<0) {
i++;
}
}
if (key == ‘f’ || key == ‘F’) {
fill(255);
}
if (key == ‘d’ || key == ‘D’) {
fill(0);
}
}
if (mousePressed) {
ellipse(mouseX, mouseY, i, i);
}
}