Like setTimeout() but using requestAnimationFrame()