An open API service indexing awesome lists of open source software.

https://github.com/vanng822/canvas-timer

Time's up using canvas, support pie-timer and bar-timer
https://github.com/vanng822/canvas-timer

Last synced: about 2 months ago
JSON representation

Time's up using canvas, support pie-timer and bar-timer

Awesome Lists containing this project

README

        

## Canvas timer

Time's up using canvas, support pie-timer and bar-timer

## Example
var timer = new CanvasPieTimer(1000, 30000, 26, 26, function() {
console.log('Time to party');
}, function(timeElapsed) {
console.log(timeElapsed);
});

var timer = new CanvasBarTimer(1000, 20000, 100, 26, function() {
console.log('Time to party');
}, function(timeElapsed) {
console.log(timeElapsed);
});

###