Webブラウザ上でアニメーションや定期的な画面更新処理を実装する際、古くから使われてきた setInterval や setTimeout に頼っていませんか? もし、あなたが実装したアニメーションが「時々カクつく」「スマホで見るとバッテリーの減りが早い」といった問題 ...
CSSアニメーション(Keyframes)は手軽ですが、ユーザー操作への応答や複雑な演算(正弦波など)を用いた動きには不向きです。ブラウザの描画サイクルと同期し、60fpsの滑らかな動作を実現するには requestAnimationFrame が必須となります。 実務で即座に使える ...
Notifications You must be signed in to change notification settings A drop-in replacement for setTimeout and setInterval that makes use of requestAnimationFrame. The eventTimer, when called, creates a ...
UFO Infested Space Rocks is an in-browser Asteroids style game using modern 2020+ JavaScript / ECMAScript and Browser features (async, classes, requestAnimationFrame, audioCtx, gamepad, etc.) with CSS ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する