/plask.stats.js

Port of Mr.doob's awesome Stats.js to Plask ^_^

Primary LanguageJavaScript

Stats.js for Plask!

Only FPS mode works for now..

Usage

var plask = require('plask');
var stats = require('plask-stats');

plask.simpleWindow({
  init: function(){
    this.framerate(60);
    this.stats = new stats.Stats(100, 60).open();
  },
  draw: function(){
    this.stats.update();
  }
});