{"schemaVersion":1,"record":{"key":"resource/animation-frame","type":"resource","id":"animation-frame","lang":"en","title":"requestAnimationFrame on MDN","summary":"Animation callbacks, timestamps, and background-tab behavior.","updatedAt":null,"status":"active","url":"https://gamemechanics.pro/en/resources/#resource-animation-frame","jsonUrl":"https://gamemechanics.pro/api/v1/knowledge/en/resource/animation-frame.json","markdownUrl":"https://gamemechanics.pro/content/knowledge/en/resource/animation-frame.md","aliases":[],"tags":["documentation","","engineering"],"sourceIds":["source-61d9bfebd277d850"],"sources":[{"id":"source-61d9bfebd277d850","title":"requestAnimationFrame on MDN","url":"https://developer.mozilla.org/en-US/docs/Web/API/Window/requestAnimationFrame","verifiedAt":null}],"sections":[{"id":"principle","title":"When to use it","body":"Animation callbacks, timestamps, and background-tab behavior."}],"relations":[{"type":"uses","direction":"incoming","label":"Used in these materials","key":"lesson/game-loop","title":"The game loop and time","url":"https://gamemechanics.pro/en/lessons/game-loop/","jsonUrl":"https://gamemechanics.pro/api/v1/knowledge/en/lesson/game-loop.json","markdownUrl":"https://gamemechanics.pro/content/knowledge/en/lesson/game-loop.md"}],"placements":[],"supersededBy":[],"attributes":{"kind":"documentation","format":null,"language":"en","authors":null},"endsAt":null,"provenance":"Original editorial recommendation. The external material retains its author’s rights.","license":"CC-BY-4.0","codeLicense":"MIT","attribution":"gamemechanics.pro contributors"}}