general/clocks/src/clock.js
/**
     * Paints the minute tic marks on the clock face.
     * Required by the drawClock function.
     * Scaled to a 200px diameter clock rotated to origin of 12o'clock.
     * @private
     */
Paints the minute tic marks on the clock face.
Required by the drawClock function.
Scaled to a 200px diameter clock rotated to origin of 12o'clock.
@private
Paints the minute tic marks on the clock face . Required by the drawClock function . Scaled to a 200px diameter clock rotated to origin of 12o ' clock . @private
function drawMinuteMarks() {
        var begin = 77,
            end = 80;
        ctx.save();
        ctx.lineWidth = 3;
        ctx.strokeStyle = "black";
        ctx.lineCap = "round";
        for (i = 0; i < 60; i++) {
            if (i%5 != 0) {
                ctx.beginPath();
                ctx.moveTo(begin, 0);
                ctx.lineTo(end, 0);
                ctx.stroke();
            }
            ctx.rotate(Math.PI/30);
        }
        ctx.restore();
    }
function drawMinuteMarks ( ) { var begin = 77 , end = 80 ; ctx . save ( ) ; ctx . lineWidth = 3 ; ctx . strokeStyle = "black" ; ctx . lineCap = "round" ; for ( i = 0 ; i < 60 ; i ++ ) { if ( i % 5 != 0 ) { ctx . beginPath ( ) ; ctx . moveTo ( begin , 0 ) ; ctx . lineTo ( end , 0 ) ; ctx . stroke ( ) ; } ctx . rotate ( Math . PI / 30 ) ; } ctx . restore ( ) ; }
Paints the minute tic marks on the clock face.
Paints the minute tic marks on the clock face .
// Drawing contraints for minute marks
 // Don't touch any previous settings on the stack
 // Design the minute marks
 // Don't overwrite the hour marks
 // Restore previous settings on the canvas stack
