p5((s) => {
s.setup = function () {
s.createCanvas(width, height);
s.noStroke()
s.rectMode(s.CENTER);
};
s.draw = function () {
s.background(255, 255, 0)
s.translate(width / 4, height / 4)
s.fill(0)
s.rect(0, 0, 100, 100)
s.translate(width / 4, 0)
s.scale(0.8)
s.rect(0, 0, 100, 100)
s.scale(1 / 0.8)
s.translate(width / 4, 0)
s.rect(0, 0, 100, 100)
s.resetMatrix()
s.translate(width / 4, height / 4 * 3)
s.fill(0)
s.rect(0, 0, 100, 100)
s.resetMatrix()
s.translate(width / 4 * 2, height / 4 * 3)
s.scale(0.8)
s.rect(0, 0, 100, 100)
s.resetMatrix()
s.translate(width / 4 * 3, height / 4 * 3)
s.rect(0, 0, 100, 100)
};
})