Archive for the ‘art’ Category

Processing

Thursday, November 27th, 2008

I discovered a little something called Processing. It’s math and art all at once!

Sample program - draws an ‘N’ - right ‘ere:

int h = 200;
int w = 200;
int thickness = 50;

void setup() {
  size(w, h);
  background(0);
  stroke(255);
}

void draw() {
  for(int i = 0; i < thickness; i++) {
    // left vertical
    line(i, 0, i, h);
    // diagonal
    line((i + 1), 0, (w - thickness + i + 1), h);
    // right vertical
    line((w - i - 1), 0, (w - i - 1), h);
  }
}

N

Mullenweg ‘08!

Thursday, October 30th, 2008

I don’t know why, but for some reason I got the idea to rotate the WordPress logo and make a presidential campaign logo for its creator Matt Mullenweg.

(Several variants included.)