What if you could create hundreds of beautiful pixel art animations without drawing a single sprite?
No Photoshop. No Aseprite. No pre-made image assets.
Just Claude Code, JavaScript, and a surprisingly effective creative workflow.
Meet PixelFX, an open-source collection of 244 code-generated pixel art effects, complete with a Claude Code skill that helps you create your own.
And some of these animations look genuinely fantastic.
Here's what you'll find:
Fire and explosions: Flames, smoke, sparks, and magical fireballs
Magic and combat: Lightning, ice spells, energy beams, and sword attacks
Weather effects: Rain, snow, clouds, and atmospheric particles
Character animations: Movement, impacts, status effects, and attack sequences
UI animations: Achievements, notifications, transitions, and collectibles
Sci-fi effects: Force fields, holograms, energy cores, and glitches
And here's the interesting part.
Every animation is generated programmatically.
Instead of using existing sprites, the code calculates how pixels should appear and move over time.
That means you can change colors, adjust timing, modify particle behavior, and generate entirely new variations.
You can use the effects directly in JavaScript games or export them as sprite sheets for engines like Godot, Unity, and GameMaker.
But the real secret isn't the code. It's the process.
The project builds on a creative methodology shared by Hugo Duprez, the developer behind Sprite Fusion.
And his advice is surprisingly practical.
1. Treat code like clay.
Don't expect a perfect result from one prompt. Ask Claude to generate 5–10 variations, render them, and choose the most promising direction.
2. Trust your eyes.
AI can write the animation code, but you're still responsible for the creative direction. Refine the timing, movement, colors, and tiny details until the result actually feels right.
3. Feed your creativity.
Study great pixel art, games, films, and visual effects. Better references lead to better creative decisions.
PixelFX packages this approach into a reusable Claude Code skill.
Install it in Claude Code:
/plugin marketplace add patch-gg/pixelfx
/plugin install pixelfx@pixelfx
Then ask Claude to create something like:
"Create five variations of a magical ice explosion, render previews, and help me choose the best one for my pixel art game."
The skill can generate the effects, render previews, and help you refine them through multiple iterations.
And the whole project is free and open source under the MIT license.
What I particularly like about this approach is that AI isn't simply generating finished images.
It's generating the underlying systems that create the visuals.
And those systems can be edited, reused, and improved.
That's a much more interesting direction for AI-assisted game development.
244 effects. No image assets. Just code, iteration, and good taste.
PixelFX on GitHub:
https://github.com/patch-gg/pixelfx
Interactive effects gallery:
https://patch-gg.github.io/pixelfx/
Original guide by Hugo Duprez:
https://www.spritefusion.com/blog/how-to-make-good-pixel-art-effects-with-claude
#ClaudeCode #PixelArt #PixelFX #CreativeCoding #GameDevelopment #AIAnimation
YouTube / ABVX
