About 80,600 results
Open links in new tab
  1. Window: requestAnimationFrame () method - Web APIs | MDN

    Dec 26, 2025 · The window.requestAnimationFrame() method tells the browser you wish to perform an animation. It requests the browser to call a user-supplied callback function before the next repaint. …

  2. Window requestAnimationFrame () Method - W3Schools

    The requestAnimationFrame () method tells the browser that you wish to perform an animation and requests that the browser call a specified function to update an animation before the next repaint.

  3. Better Animation Timing with requestAnimationFrame | Medium

    Jun 7, 2025 · Learn how requestAnimationFrame works with the browser refresh cycle to create smoother animations and why it performs better than setInterval or setTimeout.

  4. RequestAnimationFrame in JavaScript - Built In

    Mar 18, 2025 · RequestAnimationFrame () is an animation method in JavaScript that tells the browser to call a specific function and update the animation before the next repaint. It optimizes how animation …

  5. requestAnimationFrame Explained: Why Your UI Feels Laggy (And How …

    Jul 3, 2025 · Why does your UI feel off? This guide explains requestAnimationFrame, how the browser renders, and why timing makes or breaks your app. Tagged with javascript, webdev, react, frontend.

  6. Window.requestAnimationFrame () Method - GeeksforGeeks

    Jul 26, 2024 · There are many ways to generate them, modern CSS is one of them but JavaScript has always been a power-packed option to do so. The requestAnimationFrame () is one of the methods …

  7. JavaScript animations

    Jan 20, 2024 · JavaScript animations can handle things that CSS can’t. For instance, moving along a complex path, with a timing function different from Bezier curves, or an animation on a canvas. An …

  8. JavaScript | window | requestAnimationFrame() | Codecademy

    Feb 25, 2025 · The requestAnimationFrame() function schedules a function to run before the next repaint. It is used to create smooth animations.

  9. JavaScript Window requestAnimationFrame() Method: Requesting Animation

    Feb 7, 2025 · A comprehensive guide to the JavaScript Window requestAnimationFrame () method, covering its syntax, usage, benefits, and practical examples for creating smooth animations.

  10. requestAnimationFrame in Javascript | Development | Borstch

    Sep 12, 2023 · This article offers an in-depth comparison to other timing interfaces, explores the role of JavaScript in creating animations, dissects CSS vs JavaScript animations, and provides guidance on …