Use requestAnimationFrame() in the client.