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
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1

Package Sidebar

Install

npm i clock-signal

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • stevekane