/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://studio.sketchpad.cc/sp/pad/view/ro.ZpdVARRxSEm/rev.4
*
* authors:
* (Unnamed author)
* license (unless otherwise specified):
* creative commons attribution-share alike 3.0 license.
* https://creativecommons.org/licenses/by-sa/3.0/
*/
// This sketch builds on a prior work, "Untitled Sketch", created by blobby
// http://sketchpad.cc/sp/pad/view/ro.IK5-cq8iN-3/rev.497
int inc = 15;
int rndf = 100;
void setup() {
size (600, 600);
smooth();
stroke(1);
background(250);
for (int y = 0; y < height; y = y+inc) {
for (int x = 0; x < width; x = x+inc) {
blx = random(y/rndf);
bly = random(y/rndf);
brx = random(y/rndf);
bry = random(y/rndf);
fill (random(250),random(250),random(250));
quad(0+x+blx, 0+y+bly, 0+x-blx, inc+y-bly, inc+x+brx, inc+y+bry, inc+x-brx, 0+y-bry);
}
}
}