Simple FPS counter that displays the current frames per second on the screen.
Creates a new FPSCounter and adds it to the document body.
Destroys the FPSCounter and removes its DOM element.
Updates the FPS counter. Should be called every frame.
Simple FPS counter that displays the current frames per second on the screen.