function setup() { createCanvas(200, 200); } function draw() { background(0); stroke(255); strokeWeight(10); noFill(); beginShape(); vertex(50, 50); vertex(50, 150); vertex(150, 150); vertex(150, 50); endShape(CLOSE); }