Harshvardhan

Post Graduate Student
Information And Digital Design (2007-09)
National Institute of Design
Gandhinagar - India

e-mail: harshvardhan84[AT]gmail[DOT]com

Piet Mondrian was an important contributor to the De Stijl art movement and group, which was founded by Theo van Doesburg. He evolved a non-representational form which he termed Neo-Plasticism. This consisted of a grid of vertical and horizontal black lines and the use of the three primary colours.[1]

The assignment was to create one of his works using processing language. It is "a programming language and integrated development environment (IDE) built for the electronic arts and visual design communities", which aims to teach the basics of computer programming in a visual context, and to serve as the foundation for electronic sketchbooks. [2]

The work used by me is displayed below:

piet_mondrian2_r_w.jpg

The screenshot of output:
myPiet.jpg

The processing code is as follows:

/*
Re-create the work of Piet Mondrian.
*/

void setup()
{
  int x=563;
  int y=800;
  size(x,y);                      //canvas size is 563 x 800)
  background(7, 6, 108);      //blue background
}

void draw()
{
  strokeWeight(2);
  line(0,0,0,800);              //left most vertical black border

  strokeWeight(0.5);
  line (562, 0, 562, 800);   //right most vertical black border

  strokeWeight(0.5);        //all other rectangular border weight

  fill(242, 227, 172);      
  rect(12,0,46,800);

  fill(247, 240, 214);
  rect(12,17,46,12);

  fill(240, 226, 181);
  rect (2, 0, 4, 800);

  fill(0);
  rect(12, 29, 46, 11);

  fill(28, 44, 199);
  rect(12, 40, 46, 76);

  fill(223, 228, 22);
  rect(58, 567, 504, 114);

  fill(131, 69, 71);
  rect(58, 684, 504, 95);

  fill(255, 7, 7);
  rect(58, 781, 504, 19);
}
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License