Timothy Sherman – Schotter
Processing.js:
Processing:
Processing Code:
boolean toChange = true; void setup() { size(400, 760); smooth(); noFill(); background(248); } void mouseClicked() { toChange = true; } void draw() { if(toChange) { fill(248); rect(-1,-1,401,801); noFill(); for(int j = 0;j<24;j++) { for(int i = 0;i<12;i++) { pushMatrix(); translate(20+i*30+random(j*.3+i/30)-(j*.3+i/30)/2,20+j*30+random(j*.3+i/30)-(j*.3+i/30)/2); rotate(radians(random((6*j+i/2))-(6*j+i/2)/2)); rect(0,0,30,30); popMatrix(); } } toChange = false; } } |
Cinder:
Comments Off on Timothy Sherman – Schotter