I've added a js with requestAnimationFrame very basic usage sample.