// Xander Fann xmf Section B
function setup() {
createCanvas(600, 600);
background(220);
}
function draw() {
var s = second()*10;
var m = minute()*10;
var h = hour()/2;
background(190, 210, 255);//sky
noStroke()
//human
push();
translate(m,0)
fill(0)
circle(0,390,20) //head
ellipse(0,430,30,50) // body
pop();
//sun
fill(255,255,0,150); // yellow, lowered opacity
circle(width/2,height/2,h*30);
if (h>= 12) {circle(width/2,height/2,h/30); //when past 12 the sun shrinks
}
//cloud
push();
translate(s,0);
for(x = 25;x<=145;x+=40){ // three clouds changing arch height and opacity
fill(255,255,255,x/1.5);arc(x,200,200,x*1.5,PI,0)
}
pop();
//bridge and ground
fill(142, 224, 137);
stroke(176, 147, 91);
strokeWeight(7);
line(0,450,600,450);
noStroke();
arc(0,height,400,300,PI,0);//ground
arc(width,height,400,300,PI,0);
}
Back then the daylight outdoors was the only way to tell when it was time to work or sleep. My abstract clock is determined by the movement of the sky, the movement of the human doing work and the size of the sun. The sun is getting larger as time increases towards the day and the man will always be moving to do work.