Animation in JavaScript can be difficult to create, and even harder to optimize for performance. Learn how to get better at both with requestAnimationFrame! The demonstration from this screencast can be found in Codepen. You can find the mentioned link from the screencast here: http://html5hub.com/request-animation-frame-for-better-performance/
JavaScript中的动画可能很难创建,甚至难以优化性能。 了解如何通过requestAnimationFrame使两者都变得更好! 该截屏视频的演示可以在Codepen中找到。 您可以从以下截屏中找到提到的链接:http://html5hub.com/request-animation-frame-for-better-performance/
This is the first video of the series JS with Performance in Mind.
这是JS Performance in Mind系列的第一部视频。
Loading the player… 正在加载播放器…翻译自: https://www.sitepoint.com/watch-performance-with-requestanimationframe/
相关资源:jdk-8u281-windows-x64.exe