xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(0);
rectMode(CENTER);
}
function draw() {
translate(width / 2, height / 2);
let colorValue = map(sin(millis() / 1500), -1, 1, 0, 255);
let alphaValue = map(cos(millis() / 1000), -1, 1, 50, 200);
let strokeWeightValue = map(sin(millis() / 2000), -1, 1, 1, 10);
fill(colorValue);
stroke(colorValue);
strokeWeight(strokeWeightValue);
ellipse(0, 0, 200, 200);
}