Mark Shuster – Schotter
Processing
void setup() { size(300, 600); smooth(); noFill(); background(255); rectMode(CENTER); noLoop(); } void draw() { int x, y; int offset = 50; for (y = 0; y < 24; y++) { for (x = 0; x < 12; x++) { resetMatrix(); translate(offset + x*20,offset + y*20); float r = random(-y, y); rotate((PI * 2) / 360 * r * 2); rect(r/2, r/2, 20, 20); resetMatrix(); } translate(-x*20,0); } } |
Processing.js
Comments Off on Mark Shuster – Schotter