xxxxxxxxxx
16
function setup() {
createCanvas(600, 400);
a = 0.25 * width;
b = 0.25 * height;
c = 0.75 * width;
d = 0.75 * height;
}
function draw() {
background(220);
line(a, b, c, b);
line(c, d, a, d);
line(a, d, a, b);
line(c, b, c, d);
}