xxxxxxxxxx
19
function setup() {
createCanvas(128, 64);
//rectMode(CENTER);
noLoop();
}
let x1, x2;
function draw() {
background(100);
noStroke();
x1 = width*.25-10;
rect(x1, 1, 40, 56);
console.log(x1);
x2 = width*.75-30;
rect(x2, 1, 40, 56);
console.log(x2);
}