xxxxxxxxxx
14
function setup() {
createCanvas(400, 400);
colorMode(HSL);
}
function draw() {
translate(200, 200);
noStroke();
let x = cos(frameCount / 25) * 100;
let y = sin(frameCount / 26) * 100;
fill(frameCount % 360, 25, 75)
ellipse(x, y, 20, 20);
}