Week 3: Visual Abstraction
Heavy_light composition
void draw() {
background(200);
if(mousePressed) {
// PLACE HEAVY GRAPHICS HERE
size(600,600);
background(250);
fill(0);
rect(0,0,600,520);
rect(50,550,500,20);
}
else {
// PLACE LIGHT GRAPHICS HERE
size(600,600);
background(20);
fill(255);
noStroke();
smooth();
rect(0,400,600,200);
rect(410,90,20,70);
}
}
Heavy_light composition
void draw() {
background(200);
if(mousePressed) {
// PLACE HEAVY GRAPHICS HERE
size(600,600);
background(250);
fill(0);
rect(0,0,600,520);
rect(50,550,500,20);
}
else {
// PLACE LIGHT GRAPHICS HERE
size(600,600);
background(20);
fill(255);
noStroke();
smooth();
rect(0,400,600,200);
rect(410,90,20,70);
}
}
0 Comments:
Post a Comment
<< Home