xxxxxxxxxx
43
x = -15;
y = -40;
m1 = 10;
function setup() {
createCanvas(700, 700);
background(200);
stroke(150);
strokeWeight(0.1);
}
function draw() {
let shades = ["#F5F5F5", "#E7CFD2", "#F5F5F5", "#F5F5F5", "#E7E2D6", "#E7E2D6", "#E7CFD2", "#E7E2D6", "#E7E2D6", "#E7E2D6", "#FFB5D5", "#F50000", "#F06456", "#E67400", "#EEBB2B", "#EEBB2B", "#00B643", "#99D6C9", "#81C7E1", "#0463A0", "#2D375C", "#CFB08F"];
let shade = random(shades);
c = color(shade);
fill(c)
quad(x, y, x + 10, y + 10, x - 30, y + 50, x - 40, y + 40);
// quad(x, y, x + 10, y + 10+m1, x - 30, y + 50+m1, x - 40, y + 40);
let tones = ["#E7E2D6", "#E7E2D6", "#E7E2D6", "#E7E2D6", "#E7E2D6", "#E7CFD2", "#FFB5D5", "#F5F5F5", "#F5F5F5", "#E7CFD2", "#F50000", "#F06456", "#E67400", "#EEBB2B", "#EEBB2B", "#00B643", "#99D6C9", "#81C7E1", "#0463A0", "#2D375C", "#CFB08F"];
let tone = random(tones);
c = color(tone);
fill(c)
quad(x + 10, y + 10, x + 50, y + 50, x + 40, y + 60, x, y + 20);
// quad(x + 10, y + 10, x + 50, y + 50, x + 40, y + 60+m1, x, y + 20+m1);
y = y + 20;
if (y > 700) {
y = -40;
x = x + 80;
}
if (x > 750) {
noLoop();
}
}