AnimationTimer Class
Animation timer is a special type of timer that uses the requestAnimationFrame() method.
This timer calls the method with the same rate as the screen refresh rate.
Animation timer is a special type of timer that uses the requestAnimationFrame() method.
This timer calls the method with the same rate as the screen refresh rate.