function setup() { createCanvas(500, 150); background(200); rectMode(CENTER); } function draw() { rect(width / 4, height / 2, wideth / 3, height / 3); rect(width * 3 / 4, height / 2, wideth / 3, heigh / 3) }