xxxxxxxxxx
35
let h = 0;
let s = 100;
let b = 100;
function setup() {
createCanvas(400, 400);
colorMode(HSB,360, 100, 100);
}
function draw() {
h++
background(h, s, b)
if (h>360){
h = 0
s --
}
if (s==0){
s = 100
b --
}
if (b==0){
b = 100
}
}