/clock-canvas-js

analog clock in javascript/canvas using images

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

clock-canvas-js

analog clock in javascript/canvas using images

license

GPL v3

usage

<canvas
    class                   = "clock"
    width                   = "412"
    height                  = "412"
    data-seconds-image      = "img/girosur/seconds.png"
    data-minutes-image      = "img/girosur/minutes.png"
    data-hours-image        = "img/girosur/hours.png"
    data-background-image   = "img/girosur/01.jpg"
    data-seconds-animation  = "false"
    data-minutes-animation  = "false"
    data-hours-animation    = "true"
    reverse                 = "true">
</canvas>

install

npm install

#development
npm run watch

# production
npm run build

girosur 1 girosur 2 girosur 3

demo

http://zital-pi.no-ip.org/girosur/