davideriboli
3/18/2013 - 2:25 PM

Grey Pattern

Grey Pattern

/*

http://goo.gl/FHPn8

THIS IS A PROCESSING SKETCH

change file suffix .java into .pde before running

*/

void setup(){
   size(1066,711);
}

//Use it without draw for quick effect//

void draw(){
  for (int i=0; i<width; i++){
    for (int j=0; j<height; j++){
      stroke(int(abs(cos(i*j)*255)),int(abs(cos(i*j)*255)));
      point(i,j);
    }
  }
}