I cant figure out how to rotate this polygon
dc.fillPolygon([ [223, 125], [120, 125], [120, 115], [223, 115], [230, 120] ]);
iknow i have to use Math.sin(alpha) and Math.cos(alpha) alpha being var alpha = Math.PI/6*(1.0*clockTime.hour+clockTime.min/60.0);
but i cant figure it out. Any help would be super nice.