xxxxxxxxxx
let secondhand;
function setup() {
createCanvas(windowWidth, windowHeight);
angleMode(DEGREES);
}
function draw() {
background(0);
stroke(255);
noFill();
secondhand = map(second(),0, 59, 0, 360);
translate(width/2, height/2);
rotate(secondhand + 180);
line(0,0,0,200);
}