Thursday, August 18, 2011

Cardart v4

int fc = 0;
int i = 0;

void setup() {
  size(500, 500);
  noStroke();
  i = int(height/2);
}

void draw() {
  background(255);
  fc++;
  for (int j=0; j<100; j++) {
    fill(random(0, 255), random(0, 255), random(0, 255));
    rect(j*5, i, 5, 95.0 * sin(i/200.0 + j/10.0 +fc/10.0));
  }
}

info info

submitted by: davidedc
views: 

A friend of mine had a load of old business cards and wanted something to do with them. I suggested making this.

treeThis sketch has a parent
Tags: black, white

comments comment

loading loading...

 

Add a comment: