xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(0);
}
function draw() {
background (0, 0, 0, 5)
translate(width/2, height/2);
let a = map(sin(millis()/1500), -1, 1, -200, 200);
let b = map(cos(millis()/1500), -1, 1, -100, 100);
let c = map(cos(millis()/2000), -1, 1, -50, 50);
translate(a);
rotate(millis()/1000);
noFill();
stroke(225,225,225);
rect(-110, -110, 200, 200)
translate(b)
rotate(millis()/2000)
rect(110, 110, 100, 100)
translate(c);
circle(-50, -50, 100);
noFill();
stroke(225,225,225);
}