requestAnimationFrame takes a function reference and when it calls that function it passes the current timestamp.