sketch
var c;var hourcolor;var mincolor;var seccolor;var wintercolor = '#ffffff';var springcolor = '#c6ed4c';var summercolor = '#29d359';var fallcolor = '#f26f16';
function setup() {
createCanvas(480, 480);
hourcolor = color(255,72,72,200); mincolor = color(255,46,131,200); seccolor = color(123,52,214,200);
}
function draw() {
background('#5e99ef'); push();
flower(110,320-10*hour(),hourcolor); pop();
push();
flower(230,320-4*minute(),mincolor); pop();
push();
flower(350,320-4*second(),seccolor); pop();
noStroke();
if (month() > 2 & month() <= 5) { fill(springcolor);
rect(0,width-70,width,70);
} else if (month() > 5 & month() <= 8 ) { fill(summercolor);
rect(0,width-70,width,70);
} else if (month() > 8 & month() <= 11) { fill(fallcolor);
rect(0,width-70,width,70);
} else { fill(wintercolor);
rect(0,width-70,width,70);
}
}
function flower(x,y,c) { translate(x,y);
noStroke();
fill('#86e55a'); rect(-2,0,5,500); ellipse(-10,100,20,10); ellipse(10,150,20,10); ellipse(-10,200,20,10); ellipse(10,250,20,10); fill(c);
for (var i = 0; i < 5; i ++) { ellipse(0, 0, 20, 70);
rotate(PI/5);
}
fill('#ffd961'); ellipse(0,0,30,30);}