clock-signal

1.0.0 • Public • Published

Clock Signal

Useage of this is dead simple. Pick a time in your app to call the update function with your clock instance. This is intended to be done in your application's core update loop.

var c = new ClockSignal
 
function update () {
  ClockSignal.update(c)
 
  console.log(c.dT) // ~16.66
}

Readme

Keywords

Package Sidebar

Install

npm i clock-signal

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • stevekane