xxxxxxxxxx
11
function setup() {
createCanvas(400, 400);
// Arguments for rect 1
// e.g. rect(topRightX, topRightY, bottomLeftX, bottomLeftY);
rect(centerX, centerY, width, height);
// Arguments for rect 2
rect(centerX, centerY, verticalXtoY, horizontalXtoY);
// Come up with as many as you can think of!
rect(topLeftX, topLeftY, w, h);
}