Mondrian Perfection

Here is the code and Mondrian render. Code provided down below.

Screen Shot 2014-09-09 at 4.04.06 PM

 

CODE

void setup(){
  size(500,500);
}
void draw() {
  background(#d6dfda);
  stroke(#000000);
  strokeWeight(5);
  //RED
  fill(#ab250a);
  rect(-3,-3,228,213);
  //WHITE
  fill(#d6dfda);
  rect(-3,215,228,105);
  rect(225,-3,width-223,213);
  rect(225,215,width-223,105);
  rect(50,325,175,195);
  rect(375,325,150,195);
  //YELLOW
  fill(#e0b808);
  rect(-3,325,53,195);
  //BLUE
  fill(#04235c);
  rect(225,325,150,150);
  filter(BLUR, 1);
}

Comments are closed.