famous-lagometer
Lagometer for famo.us showing the FPS, animation-frames times and script times.
View the demo here
Getting started
Install using bower or npm:
bower install famous-lagometer
npm install famous-lagometer
Create lagometer:
var Lagometer = ; var modifier = size: 100 100 align: 10 00 origin: 10 00 transform: Transform;var lagometer = size: modifier // required;this;
Constructor options
Options that you can configure through the constructor:
size: 100 100 // size, required! drawFrequency: 2 // by default 2 times per second min: 0 // minimum scale max: 34 // max scale backgroundColor: 'rgba(200, 0, 0, 0.8)' borderColor: 'rgba(255, 0, 0, 0.8)' textColor: 'rgba(255, 255, 255, 0.8)' font: '28px Arial' frameColor: '#00FF00' scriptColor: '#BBBBFF';
Contribute
If you like this project and want to support it, show some love and give it a star.
Contact
- @IjzerenHein
- http://www.gloey.nl
- hrutjes@gmail.com (for hire)
© 2014/2015 - Hein Rutjes