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