Post
Was inspired by this article to try a spritesheet animation: @joshwcomeau.com www.joshwcomeau.com/animation/sp...
joshwcomeau.comSprites on the Web • Josh W. ComeauIn game development, it’s common to use spritesheets for animation, but this technique isn’t as widely used on the web these days. Which is a shame, because we can do some pretty cool stuff with sprit...
I initially used the technique from the article. To animate the `object-position` which I liked a lot, and since my animation was so long I had to wrap it to multiple rows so as to not exceed WEBP maximum width, which required me to move the sprite's X and Y frame position at separate intervals.
0 reposts2 likes
Learned about `image-rendering: pixelated;` From @chrisburnell.com chrisburnell.com/note/elevent...
chrisburnell.com“Built with Eleventy” Animated 88x31I was tagged several days ago on Mastodon, as someone was looking for a "90s-style 88x31 footer GIF" for pages built with Eleventy, and [... I] gave animating the badge a shot!