@rehan_shei open-sourced pixelfx and a Claude Code skill: 232 pixel-art effects written entirely in code with no image files, and new effects follow Hugo Duprez's draft → render → look → refine loop
Rehan Sheikh (@rehan_shei) open-sourced pixelfx (MIT): 232 pixel-art effects (fire, explosions, ice, lightning, UI, critters…) each a small JS file—play live, recolor, mirror, or export sprite sheets for Godot/Unity. A Claude Code skill follows Hugo Duprez's (@HugoDuprez) public method—code is clay, trust your eyes, feed references—so Opus drafts, renders a contact sheet, looks, and refines. Gallery: patch-gg.github.io/pixelfx. We cloned commit fe7103c, ran `npm install` then `node tools/render.mjs ice/frost-nova --sheet`, and got a 103-frame sheet plus Aseprite-style json; we did not have Claude author a new effect.
Visit site pixelfx (patch-gg/pixelfx) ↗- Pricing
- Free
- Region
- Global
- Where it's from
- Overseas
- Added
- Oct 31, 2026
- Tested on
- Oct 31, 2026
- Version we used
- patch-gg/pixelfx commit fe7103c (2026-10-29); package.json 0.2.0; skill name pixelfx
- Original author
- Rehan Sheikh (method: Hugo Duprez) @rehan_shei ↗
- Our test
- Partly tested
- Cost / time
- Library and skill are MIT/free; shipped effects cost no model spend. Authoring new ones needs your own Claude plan; ffmpeg optional.
The task
Add fire, frost novas, hit flashes and similar pixel VFX to an indie game or tool—recolorable and exportable—without hand-drawing every frame.
Steps
- Clone or depend: `git clone https://github.com/patch-gg/pixelfx` (or `npm i github:patch-gg/pixelfx`); tools need Node 18+, ffmpeg optional for GIF/MP4 previews.
- Install the Claude skill by copying `skills/pixelfx` into your agent skills dir, or via the skills CLI per the repo.
- Search existing FX first: `node tools/list.mjs frost` or `docs/CATALOG.md`; preview with `node tools/render.mjs ice/frost-nova` and open `records/.../contact.png`.
- In-game: JS/Canvas can `import` effect modules; for Godot/Unity etc. run `node tools/render.mjs ice/frost-nova --sheet` for png+json atlases.
- New effects: read `docs/AUTHORING.md`, then in Claude Code follow the skill's draft→render contact sheet→look→refine loop—don't expect one-shot prompts.
- Browse the gallery: https://patch-gg.github.io/pixelfx/
Prompt
In the pixelfx repo, use the skill for a frost nova under a mage: list and render existing frost/ice effects as contact sheets first; if none fit, draft per AUTHORING.md, refine against a reference until the loop is clean and it ends empty, then export a --sheet atlas.
What the author says
@rehan_shei: with Opus 5.5 you can make strong pixel-art effects—write one, render it, look at the frames, fix until it holds. They made 232 that way, no images, all code, and open-sourced the lot with the skill. Method from @HugoDuprez's article and Sprite Fusion open-source effects.
Our test
Cloned patch-gg/pixelfx commit fe7103c, ran npm install, then `node tools/list.mjs frost` and `node tools/render.mjs ice/frost-nova --sheet`. No ffmpeg, no Claude Code session to author a new effect, and no game-engine integration.
What we found when we tried it:`list frost` returned 10 hits including ice/frost-nova. `--sheet` wrote records/ice/frost-nova/frost-nova.png (~809 KB), contact.png (~164 KB) and frost-nova.json; meta.pixelfx reports id=ice/frost-nova, fps=30, loop=false, frames=103, frameSize=[288,192], columns=9, pivot=[144,150]. SKILL.md states 232 ready-made effects in the library.
How to get in
English source post; GitHub and the GitHub Pages gallery are public. Claude Code needs your own plan/endpoint. Method write-up is on the Sprite Fusion blog.
Who it suits
Pixel-art indie game makers who need lots of VFX juice; Claude Code users willing to iterate from contact sheets.
Pitfalls
- In our test the shipped frost-nova rendered a 103-frame sheet, but we did not run Claude through a full new-effect loop or play it in an engine.
- The repo/skill claim 232 effects—trust the catalog/SKILL, and don't assume every js file is a distinct playable effect.
- The method is multi-round visual review, not one-shot genius; skip contact sheets and you get runnable-but-ugly particles.
- Some core simulation code adapts Hugo Duprez / Sprite Fusion work (noted in file headers)—read NOTICE.md and LICENSE before commercial use.
- Sheets bake glow into color alpha; on bright backgrounds it can look muddy—recolor or keep the effect on a dark layer.
More in this category
- Turn a selfie into a transparent animated sticker setImageSeedream 5.5JimengHuashu skillSkill is free; image gen uses Jimeng credits◐ Partly testedChina
- Two minutes to give agents GPT stills and GIFsImageopenai-imageMCPGrok BotMCP free; images use OpenAI credits◐ Partly testedOverseas
- One sentence to batch WebP and trim edgesImageimage-processingClaude CodePillowSkill free; needs Claude Code + Pillow◐ Partly testedOverseas
- One photo plus a minimal paper-print twinImageCodexSkillImage genSkill free; needs Codex image generation◐ Partly testedChina
- Paint one dieline, fold a low-poly GLB with a Fold clipImageOrigamiClaude CodeBlenderSkill free; paint ~$0.10–0.25 each◐ Partly testedOverseas