Install Player-animator, Version 0.9.9 Or Later. _top_ May 2026
Give it a spin – your animated characters will thank you. Have you used player‑animator in a project? Let me know on Mastodon or GitHub.
// Frame order: indices 0,1,2,3 (repeat) frames: [0, 1, 2, 3], install player-animator, version 0.9.9 or later.
If you’ve ever tried to build a sprite‑based animation system from scratch in JavaScript, you know how quickly it becomes messy: frame counters, manual canvas clearing, speed adjustments, and state management. That’s why I was excited to discover Player‑Animator – a tiny, no‑dependency library that makes sprite sheet animations a breeze. Give it a spin – your animated characters will thank you
// Frame size frameWidth: 32, frameHeight: 32, 3 (repeat) frames: [0