sketch2.js
function setup() {
let container = document.getElementById('p5-container');
let canvas = createCanvas(400, 400);
canvas.parent('p5-container');
background(250);
}
function draw() {
noStroke();
fill(10, 10);
circle(
random(width),
random(height),
random(7, 111)
);
stroke(10, 10);
strokeWeight(random(0.1, 5));
triangle(
random(width), random(height),
random(width), random(height),
random(width), random(height),
);
circle(
random(width),
random(height),
random(67, 112)
);
triangle(
random(width), random(height),
random(width), random(height),
random(width), random(height),
);
stroke(5, 5);
strokeWeight(7);
line(
random(width),
random(height),
random(width),
random(height)
);
}