What do you want to do?
3 use cases
-
Drop a pixel art spell effect into your browser game
Install the package and draw an effect behind and in front of your characters each frame.
- REPO
patch-gg/pixelfx - Claude Code
- Cursor
- Games and hobbies
- Intermediate
View prompt
Add the pixelfx frost-nova effect to my canvas game at the mage's position, drawn behind and in front of characters as in the README example. Use `npm i github:patch-gg/pixelfx`.
- REPO
-
Export effects as sprite sheets for Godot, Unity or any engine
Render one effect or the whole library to sprite sheets with timing metadata.
View prompt
Clone patch-gg/pixelfx and export the fire and explosion effects as sprite sheets with `node tools/render.mjs <id> --sheet`, then tell me the fps, loop and pivot from each meta.pixelfx block.
-
Have Claude Code make and refine a new pixel effect
Install the Pixelfx skill and ask for an effect; or start one yourself and iterate on the contact sheet.
- REPO
patch-gg/pixelfx - Claude Code
- Games and hobbies
- Intermediate
View prompt
With the pixelfx skill installed, make a punchy ice shard hit effect: draft it, render the contact sheet, fix the worst problem, and repeat until `node tools/check.mjs` passes.
- REPO
Quick start with Pixelfx
- Check you have what it needs: Node.js; A browser game (canvas, Phaser, PixiJS, Kaplay, three.js) or an engine that reads sprite sheets; Claude Code for the skill.
- Open patch-gg/pixelfx on GitHub and read the README and license.
- Run
npm i github:patch-gg/pixelfx, or copy src/core and the effects you want - Import createFrame, createFx and composite plus an effect such as
pixelfx/fx/ice/frost-nova - Each tick call fx.update(dt), draw it with "back" behind characters and "front" in front
- Composite into ImageData and scale up with image-rendering: pixelated
These steps come from our top use case, Drop a pixel art spell effect into your browser game, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for patch-gg/pixelfx
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forIndie game developers and pixel artists who want ready effects or an agent that makes new ones.
- Why it is hot5.2k stars, launched 6 days ago
- LanguageJavaScript
- Sourcegithub.com/patch-gg/pixelfx · Back to Hot repos
Requirements
- Node.js
- A browser game (canvas, Phaser, PixiJS, Kaplay, three.js) or an engine that reads sprite sheets
- Claude Code for the skill
Add this badge to your README
Maintain Pixelfx? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/patch-gg-pixelfx/?utm_source=github&utm_medium=badge&utm_campaign=patch-gg-pixelfx)
HTML
<a href="https://dedupedai.com/use-cases/patch-gg-pixelfx/?utm_source=github&utm_medium=badge&utm_campaign=patch-gg-pixelfx"><img src="https://dedupedai.com/badge/patch-gg/pixelfx.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Pixelfx
What is Pixelfx?
pixelfx is a library of 244 pixel art effects and animations, each a small piece of code with no images: fire, explosions, magic, weather, UI, pickups and more. You can play them live, recolor and mirror them, drop them into a browser game, or export sprite sheets for any engine. It includes a Claude Code skill that makes new effects by drafting, rendering, looking and refining. It is an open-source project on GitHub: https://github.com/patch-gg/pixelfx.
How do I use Pixelfx?
Run npm i github:patch-gg/pixelfx, or copy src/core and the effects you want; then import createFrame, createFx and composite plus an effect such as pixelfx/fx/ice/frost-nova; Each tick call fx.update(dt), draw it with "back" behind characters and "front" in front. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Pixelfx for?
Indie game developers and pixel artists who want ready effects or an agent that makes new ones.
What can I do with Pixelfx?
3 use cases so far, for example: Drop a pixel art spell effect into your browser game; Export effects as sprite sheets for Godot, Unity or any engine; Have Claude Code make and refine a new pixel effect. Each has steps and a copy-paste agent prompt.
What do I need to run Pixelfx?
Node.js; A browser game (canvas, Phaser, PixiJS, Kaplay, three.js) or an engine that reads sprite sheets; Claude Code for the skill.
What are alternatives to Pixelfx?
Other hot AI repos in Games and hobbies: Ru View, NPC Talk, Claude Code Game Studios, Universal Modder, Kill Switch.
Is Pixelfx safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.