# patch-gg/pixelfx

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/patch-gg-pixelfx).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

5,820 stars · 759 forks · JavaScript · MIT

## Links

- GitHub: https://github.com/patch-gg/pixelfx
- Homepage: https://patch-gg.github.io/pixelfx/
- awesome-repositories: https://awesome-repositories.com/repository/patch-gg-pixelfx.md

## Topics

`agent-skills` `animation` `canvas` `claude-code-plugin` `gamedev` `pixel-art` `sprite-sheet` `vfx`

## Description

pixelfx is a library of hundreds of pixel art visual effects for games, drawn entirely by code rather than from image files. Each effect is a small function that paints individual pixels into a game canvas every frame, and a seeded random generator makes every frame identical on each run. The catalogue covers fire, explosions, lightning, water and ice, weather, magic spells, sci-fi visuals, and game interface feedback, with no external dependencies or image assets.

What sets it apart is how effects are built and reused. Each frame renders into a color layer and a separate additive glow layer, so bright effects look hot and luminous. A dark-to-bright list of hex colors can be resampled to any length, so one effect can be recolored (blue fire, pink healing) without editing its code. Looping effects are pure functions of time and repeat without a visible seam, while one-shot effects keep state and advance through separate update and draw steps, spawning particles, debris, and lights. Rendered frames can also be exported as a transparent PNG sprite sheet with Aseprite-style JSON for timing and pivots, which Godot, Unity, and Phaser can read.

Beyond the visuals themselves, the library includes combat-oriented pieces such as melee slashes, projectiles, hit and impact feedback, and full attack sequences that pair an effect with a character's wind-up, hit freeze, screen shake, target reaction, and recovery. It also covers status condition overlays, spawn and death animations, collectible pickups, ambient critters, screen transitions, and tools for tinting or outlining a character and attaching items to a posed 3D skeleton.

A packaged assistant skill, described by plugin and marketplace manifests for Claude Code, lets authors find, adapt, and create effects from plain-language requests. It scaffolds new effects from a working template and previews them through contact sheets, GIF and MP4 output, and a local gallery.

## Tags

### Game Development

- [Procedural Pixel Art Effects](https://awesome-repositories.com/f/game-development/procedural-pixel-art-effects.md) — Draws a catalogue of hundreds of code-generated pixel art effects such as fire, explosions, weather, and spells live in a game with no image assets. ([source](https://github.com/patch-gg/pixelfx#readme))
- [Procedural Pixel Effect Libraries](https://awesome-repositories.com/f/game-development/procedural-pixel-effect-libraries.md) — Provides a catalogue of hundreds of code-drawn pixel art effects such as fire, lightning, weather, spells, and UI feedback with no image files.
- [Procedural Game VFX Engines](https://awesome-repositories.com/f/game-development/procedural-game-vfx-engines.md) — Draws pure-code effects into a game canvas each frame, using a seeded random generator so frames are identical on every run.
- [Runtime Effect Spawning](https://awesome-repositories.com/f/game-development/runtime-effect-spawning.md) — Draws code-generated effects into a game canvas each frame with options for position, flip, angle, seed, and layering behind or in front of characters. ([source](https://github.com/patch-gg/pixelfx/blob/main/README.md))
- [Attack Animation Sequences](https://awesome-repositories.com/f/game-development/attack-animation-sequences.md) — Plays full wind-up-to-recovery attack sequences such as sword combos, arrow shots, and ground pounds by chaining smaller effects. ([source](https://github.com/patch-gg/pixelfx/blob/main/docs/CATALOG.md))
- [Attack Sequence Choreography](https://awesome-repositories.com/f/game-development/attack-sequence-choreography.md) — Plays an effect with a character's wind-up, hit freeze, screen shake, target reaction, and recovery, all driven by plain timing data. ([source](https://github.com/patch-gg/pixelfx/blob/main/README.md))
- [Combat Feedback Effects](https://awesome-repositories.com/f/game-development/combat-feedback-effects.md) — Plays hit sparks, critical-hit bursts, shockwaves, ricochets, blocks, and landing effects so combat and collisions feel weighty. ([source](https://github.com/patch-gg/pixelfx/blob/main/docs/CATALOG.md))
- [Explosion and Firework Effects](https://awesome-repositories.com/f/game-development/explosion-and-firework-effects.md) — Plays one-shot blasts and bursts such as grenades, nukes, plasma blasts, and fireworks with flashes, shock rings, debris, and rolling smoke. ([source](https://github.com/patch-gg/pixelfx/blob/main/docs/CATALOG.md))
- [Fire and Explosion Effects](https://awesome-repositories.com/f/game-development/fire-and-explosion-effects.md) — Ships animated fire, flame, blast, smoke, and firework effects that either loop continuously or run once for a fixed duration. ([source](https://patch-gg.github.io/pixelfx/))
- [Flame and Ember Effects](https://awesome-repositories.com/f/game-development/flame-and-ember-effects.md) — Renders looping and one-shot flames from torches and campfires to fireballs, fire breath, and meteors, with sparks, embers, and smoke. ([source](https://github.com/patch-gg/pixelfx/blob/main/docs/CATALOG.md))
- [Game Particle Effect Systems](https://awesome-repositories.com/f/game-development/game-particle-effect-systems.md) — Combines particles, additive glow buffers, and dark-to-bright color ramps so effects can be recolored without editing code.
- [Magic Spell Effects](https://awesome-repositories.com/f/game-development/magic-spell-effects.md) — Renders arcane portals, runes, holy heals, halos, and shadow curses, voids, and tendrils to bring spellcasting to life. ([source](https://patch-gg.github.io/pixelfx/))
- [Melee Slash Effects](https://awesome-repositories.com/f/game-development/melee-slash-effects.md) — Provides weapon swing visuals such as slashes, claw swipes, cleaves, thrusts, and whip cracks, each with trails, sparks, and impact flashes. ([source](https://github.com/patch-gg/pixelfx/blob/main/docs/CATALOG.md))

### Graphics & Multimedia

- [Seamless Looping Effects](https://awesome-repositories.com/f/graphics-multimedia/custom-effect-authoring/seamless-looping-effects.md) — Defines looping effects as pure functions of time with cycled particles and looping noise so animations repeat without a visible seam. ([source](https://github.com/patch-gg/pixelfx/blob/main/docs/AUTHORING.md))
- [Simulated One-Shot Effects](https://awesome-repositories.com/f/graphics-multimedia/custom-effect-authoring/simulated-one-shot-effects.md) — Defines one-shot effects as stateful objects with update and draw steps that spawn particles, debris, and lights with seeded randomness. ([source](https://github.com/patch-gg/pixelfx/blob/main/docs/AUTHORING.md))
- [Deterministic Layered Renderers](https://awesome-repositories.com/f/graphics-multimedia/deterministic-layered-renderers.md) — Renders identical frames on every run from a fixed seed, using separate color and additive light layers so bright effects glow. ([source](https://github.com/patch-gg/pixelfx/blob/main/README.md))
- [Per-Pixel Graphics Renderers](https://awesome-repositories.com/f/graphics-multimedia/graphics-engines-rendering/rendering/graphics-apis-bindings/graphics-rendering-apis/dynamic-pixel-renderers/per-pixel-graphics-renderers.md) — Paints pixels, lines, shapes, glows, sprites, and text with dithered or true transparency and per-pixel shader functions. ([source](https://github.com/patch-gg/pixelfx/blob/main/docs/AUTHORING.md))
- [Particle Physics Simulations](https://awesome-repositories.com/f/graphics-multimedia/particle-physics-simulations.md) — Builds effects from ready-made particle types such as sparks, smoke, fire, and embers, plus tumbling debris and flaring lights with gravity, bounce, and fading. ([source](https://github.com/patch-gg/pixelfx/blob/main/docs/AUTHORING.md))
- [Procedural Pixel Art Generators](https://awesome-repositories.com/f/graphics-multimedia/procedural-pixel-art-generators.md) — Draws every effect live with small functions that paint individual pixels, so the whole catalogue needs no image files or dependencies.
- [Particle Effect Simulations](https://awesome-repositories.com/f/graphics-multimedia/canvas-visual-effects-engines/particle-effect-simulations.md) — Produces identical frames from a seed using time-based drawing or fixed-rate particle simulation, with separate color and additive glow layers. ([source](https://github.com/patch-gg/pixelfx#readme))
- [Color Ramps](https://awesome-repositories.com/f/graphics-multimedia/canvas-visual-effects-engines/particle-effect-simulations/color-ramps.md) — Resamples a dark-to-bright list of hex colors to any length so one effect can be recolored without changing its drawing code.
- [Custom Effect Authoring](https://awesome-repositories.com/f/graphics-multimedia/custom-effect-authoring.md) — Lets a coding assistant find, use, export, and author effects from everyday requests such as adding a spell or making a hit punchier. ([source](https://github.com/patch-gg/pixelfx#readme))
- [Palette Ramp Recoloring](https://awesome-repositories.com/f/graphics-multimedia/custom-effect-authoring/palette-ramp-recoloring.md) — Reads a dark-to-bright hex color ramp and resamples it to any length so one effect can be recolored without code changes. ([source](https://github.com/patch-gg/pixelfx/blob/main/docs/AUTHORING.md))
- [Local-Coordinate Pixel Painters](https://awesome-repositories.com/f/graphics-multimedia/local-coordinate-pixel-painters.md) — Provides a position-relative painter for pixels, lines, shapes, sprites, and text, with dithered or true transparency and per-pixel shader functions.
- [Additive Glow Effects](https://awesome-repositories.com/f/graphics-multimedia/media-production-suites/visual-effects/visual-effect-shaders/additive-glow-effects.md) — Renders every frame into a color layer plus a separate additive glow layer so bright effects look hot and luminous without stored images.
- [Palette Ramp Recoloring](https://awesome-repositories.com/f/graphics-multimedia/palette-ramp-recoloring.md) — Applies a dark-to-bright ramp of hex colors to any effect, such as blue fire or pink healing, without editing its code. ([source](https://github.com/patch-gg/pixelfx#readme))
- [Sprite Sheet Generators](https://awesome-repositories.com/f/graphics-multimedia/pixel-art-editors/pixel-art-conversion/sprite-sheet-generators.md) — Renders effect frames into a transparent PNG grid with Aseprite-style JSON timing and pivot data that Godot, Unity, and Phaser can read.

### Software Engineering & Architecture

- [Assistant Skill Plugins](https://awesome-repositories.com/f/software-engineering-architecture/integration-extensibility/extensibility/third-party-plugins/assistant-skill-plugins.md) — Bundles a packaged assistant skill, described by plugin and marketplace manifests, that guides an AI assistant through finding, adapting, and adding new effects. ([source](https://github.com/patch-gg/pixelfx/tree/main/.claude-plugin))

### Artificial Intelligence & ML

- [Visual Effect Authoring Assistants](https://awesome-repositories.com/f/artificial-intelligence-ml/visual-effect-authoring-assistants.md) — Teaches a coding assistant to find, adapt, export, and create effects from everyday requests like adding a spell or making a hit punchier. ([source](https://github.com/patch-gg/pixelfx/blob/main/README.md))

### Part of an Awesome List

- [Sprite Sheet Generators](https://awesome-repositories.com/f/awesome-lists/media/pixel-art-and-sprite-tools/sprite-sheet-generators.md) — Packs rendered effect frames into a transparent PNG grid with Aseprite-style JSON timing and pivots that game engines can read.

### Development Tools & Productivity

- [Modular Skill Authoring](https://awesome-repositories.com/f/development-tools-productivity/modular-skill-authoring.md) — Packages an assistant skill with plugin and marketplace manifests that guides authors through finding, adapting, scaffolding, previewing, and adding new effects from plain-language requests.
