xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(0);
rectMode(CENTER);
}
function draw() {
translate(width/2, height/2);
let s = map(sin(millis()/1000), -200, 200, -500, 500);
let r = millis()/300;
noFill();
stroke(300);
rotate(r);
rect(79, 79, 400, 200);
}