requestanimationframe based watch.
- [3D Progress with Three.js] (http://codepen.io/idflood/pen/vERBKG?editors=001) by @idflood
- [husl color gradient] (http://codepen.io/meodai/pen/yyNWKz?editors=001) by @meodai
- [hipster demo] (http://codepen.io/meodai/pen/azqPbq?editors=001) by @daviddarx & @meodai
- [randomized Lines] (http://codepen.io/daviddarx/pen/vEQKdo?editors=001) by @daviddarx
- [flat abstract 3d planets] (http://codepen.io/meodai/pen/dPQGPy?editors=001) by @meodai
- [swiss train station aka ios] (http://codepen.io/donovanh/pen/myvLpy?editors=001) by @cssanimation
- [hyphae] (http://codepen.io/inconvergent/pen/zxXXwz?editors=001) by @inconvergent
- [coogytack] (http://codepen.io/aeyko/pen/dPENoG?editors=001) by @aeyko
- [flipping diamond] (http://codepen.io/daviddarx/pen/azeOjK?editors=001) by @daviddarx
- [abstract clock] (http://codepen.io/castrolol/pen/GgVXNM?editors=001) by @castrolol
bower install ticktack.js
ticktack.on('second', function(digits){
console.log(digits.getSecond().progress);
// digits and 'this' contain all the getter functions
});
ticktack.on('tick', function(digits){
// will be called on requestAnimationFrame
});
event Type: String event type: hour, minute, second, millisecond or tick
handler Type: Function( PlainObject digits )
- digits object containng getter functions for every digit.
{
'getDay': function(){ ... }, // {value: 0, progress: 0}
'getHour': function(){ ... }, // {value: 0, progress: 0}
'getMinute': function(){ ... }, // {value: 0, progress: 0}
'getSecond': function(){ ... }, // {value: 0, progress: 0}
'getMillisecond': function(){ ... }, // {value: 0, progress: 0}
'getDate': function(){ ... } // js Date
}
- David Aerne
- David Darx
- [David Mignot] (https://github.com/idflood)
- Pierre Spring