helix-loop
Simple game loop management
Installation
npm install helix-loop
Usage
var helix = new updateInterval: 1000 / 60 // 60 fps, about 16 ms per tick; helix; helix; helix; helix; helix; helix; helixstart;// helix.isRunning = true; helix;// helix.isRunning = false; helixstart;// helix.isRunning = true;// doesn't fire 'start' event again unless stop is called helix;// helix.isRunning = false;