Using This Magical Function
We'll cover the following...
The way you use requestAnimationFrame
is very simple. Whenever you want to redraw your screen, simply call it along with the name of your animation loop function (aka a callback) that is responsible for drawing stuff to your ...