On page load, I am looking to initiate the second hand of a clock at 15 hours.
function startClockFromSpecificPosition(ctx, radius){
now = new Date();
second = now.getSeconds();
second=(second*Math.PI/30);
console.log(second);
drawHand(ctx, second, radius*0.9, radius*0.02);
}
function drawHand(ctx, pos, length, width) {
ctx.beginPath();
ctx.lineWidth = width;
ctx.lineCap = "round";
ctx.moveTo(0,0);
ctx.rotate(pos);
ctx.lineTo(0, -(3*length/4));
ctx.stroke();
ctx.rotate(-pos);
ctx.restore();
}