xxxxxxxxxx
17
var points = [];
function setup() {
createCanvas(800, 800);
// Add your architectural points
points.push([200, 400]);
points.push([400, 200]);
points.push([600, 600]);
}
function draw() {
background(255);
for (var i = 0; i < points.length-1; i++) {
line(points[i][0], points[i][1], points[i+1][0], points[i+1][1]);
}
}