摘要:
var time=new Date();//Acquisition time now 获取当前时间var h=time.getHours();var m=time.getMinutes();var s=time.getSeconds();//console.log((Math.PI*2)/12);h=h>12?(h-12)*5+parseInt(m/12):h*5+parseInt(m/12);//时针初始位置 hour pointer default location var x=200,y=200,sa=0;var colors = ['#ffffff','# 阅读全文