LeWei-Schotter
Processing
Processing.js
Processing code
background(255); smooth(); size(420, 724); fill(0, 0); float entropy = 0; for (int i = 0; i < 20; i++) { for (int j = 0; j < 12; j++) { int x = 25 + 30*j + int(random(entropy*-1, entropy)); int y = 15 + 30*i + int(random(entropy*-1, entropy)); int angle = 0 + int(random(entropy*-1, entropy)); pushMatrix(); translate(x,y); rotate(radians(angle)); rect(0,0,30,30); popMatrix(); entropy += 0.08; } } |
openFrameworks
Gives you a new version each time it runs.
Comments Off on LeWei-Schotter