xxxxxxxxxx
26
let myDay=0;
let myMonth=0;
function setup() {
createCanvas(400, 400);
colorMode(HSB,100);
//noLoop();
noStroke();
frameRate(2);
randomSeed(myMonth+myDay+year());
}
function draw() {
let h = map(month(),1,12,0,100);
let s = random(40,70);
let b = random(85,95);
let c = color(h,s,b);
background(c);
}
function keyPressed()
{
myDay++;
myMonth++;
print(myMonth);
}