Drawing machine
void setup() {
size(600,300);
background();
}
void draw() {
fill(random(255), random(255),random(255),random(255));
rect(random(600),random(600),random(255),random(255));
if (mousePressed == true){
line (pmouseX, pmouseY, mouseX,mouseY);
}
}