Search the Community
Showing results for tags 'request animation frame'.
Hi, In all of the examples, pixi animates through the use of requestAnimationFrame (calling requestAnimationFrame again as a callback). However, in this intro video, https://www.youtube.com/watch?v=TYmeAsfTCo0 the host very clearly says that you would not want to do that in a production site, and that you should use some sort of animation loop. I am wondering, does anyone have an example of this sort of loop?