xxxxxxxxxx
38
let space;
function setup() {
createCanvas(600, 700);
space = width / 11;
background(255, 237, 216);
noFill();
stroke(0);
for (let col = space; col < width - space; col += space) {
for (let row = space; row < height - space; row += space) {
for (let inRow = 4; inRow <= 30; inRow += 0.5) {
if (random() > 0.8) {
let x = col + space / 2 - inRow;
let y = row + space / 2 - inRow;
let distort = 1.55;
stroke(101, 83, 64);
quad(
x + random(-1 * distort, distort),
y + random(-1 * distort, distort),
x + inRow * random(distort, 2.05),
y + random(-1 * distort, distort),
x + inRow * random(distort, 2.05),
y + inRow * random(distort, 2.05),
x + random(-1 * distort, distort),
y + inRow * random(distort, 2.05)
);
}
}
}
}
textStyle(NORMAL);
strokeWeight(0.6);
textSize(8);
text("Homage to Vera Molnár", width - space * 2.5, height - space / 2.5);
}
function draw() {}