xxxxxxxxxx
26
function setup() {
createCanvas(400, 400);
}
function draw() {
background(50);
translate(150, 150);
fill(0, 200, 255, 100);
noStroke();
rect(0, 0, 40, 80);
resetMatrix();
rotate(PI * 0.25);
fill(255, 0, 200, 100);
noStroke();
rect(0, 0, 40, 80);
resetMatrix();
push();
scale(1.5);
fill(255, 200, 0, 100);
noStroke();
rect(0, 0, 40, 80);
pop();
}