Negativo Positivo – Il codice

Tieni premuto il mouse sul quadrato! (da browser pc-mac)  

show code

// Processing code
void setup(){
size(300, 300);
noStroke();

}
void draw() {

if (mousePressed == true) {

fill(#edb601);
rect(0, 0, 300, 300);
fill(#cf5009);
rect(0, 0, 95, 17);
fill(#cf5009);
rect(0, 17, 285, 8);
fill(#cf5009);
rect(0, 0, 5, 300);
fill(#cf5009);
rect(0, 112, 284, 9);
fill(#cf5009);
rect(0, 120, 60, 180);
fill(#cf5009);
rect(0, 290, 136, 10);
fill(#cf5009);
rect(110, 135, 28, 165);
fill(#FFFFFF);
rect(60, 170, 50, 116);
fill(#000000);
rect(60, 285, 50, 10);

} else {

fill(#edb601);
rect(0, 0, 300, 300);

}

}