xxxxxxxxxx
32
function setup() {
createCanvas(600, 600);
angleMode(DEGREES);
}
function draw() {
strokeWeight(4);
noFill();
background(220);
translate(width/6, height/6);
square(-60, -60, 120);
translate(width/3, 0);
quad(-60, -60, width/3 + 60, -60, width/3 + 60, 60, -60, 60);
translate(width/6, height/3);
quad(0, -60, width/6 + 60, -60, width/6, 60, -60, 60);
quad(0 - width/3 - width/6, -60, -80, -60, -140, 60, -60 - width/3 - width/6, 60);
translate(-width/3 - width/6, height/3);
quad(-20, -60, 20, -60, 60, 60, -60, 60);
translate(width/3, 0);
quad(0, 0, 80, 40, 0, -60, -80, 40);
translate(width/3, 0);
quad(-60, -60, 30, -60, 60, 60, -60, 30);
}