p5((s) => {
s.setup = function () {
s.createCanvas(width, 400);
s.background(240);
};
s.draw = function () {
s.stroke(255, 0, 0);
s.fill(210);
s.rect(10, 50, 500, 300);
s.noFill();
s.stroke(0, 255, 0);
s.rect(40, 10, 10, 30);
s.stroke(0, 0, 255);
s.rect(300, 10, 400, 200);
s.stroke(255, 0, 255);
s.rect(500, 300, 300, 10);
s.stroke(0);
s.fill(200);
s.ellipse(700, 300, 100);
};
})