Samples illustrating a post about requestAnimationFrame()
Sample 1
Sample 2
Sample 3
Sample 4
Sample 5
Sample 6