Change the slider to limit the fps. The "Fps" variable below is to show the actual fps. The cat shows visually how fast it renders and it goes around in a circle. No "Wait seconds" were used.
Feel free to look inside and see how the code works. It's really simple.