Skip to content

Javascript widget to display current perfomance based upon FPS in browser It`s very lightweight and scallable, may be used somewhere else than your dev workspace.

License

Notifications You must be signed in to change notification settings

fonbah/fps-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fps.js

JavaScript widget to display current FPS

Javascript widget to display current perfomance based upon FPS in browser It`s very lightweight and scallable, may be used somewhere else than your dev workspace.

Work in internet explorer not supported, unless ie will be upgraded to needed standards in next versions, but who cares?)

Usage

Download script in your html first

<script src="fps.min.js" type="text/javascript"></script>

and start using ...

var fps = new FPS({w: 400}); //@param w property - width of widget in pixels
fps.start();

OR

fps.start();

// Your code here

fps.stop();

About

Javascript widget to display current perfomance based upon FPS in browser It`s very lightweight and scallable, may be used somewhere else than your dev workspace.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published