xxxxxxxxxx
let secondHand;
function setup() {
createCanvas(windowWidth, windowHeight);
rectMode(CENTER);
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);
}