Understanding requestAnimationFrame
We have been using setInterval to manage all JavaScript animations.
setInterval (performAnimation, 100);
Here 100 is quite a tricky magical number. It is very difficult to come with this number (delay). It needs to be short enough so that the anima...
blog.niranjanborawake.in2 min read