A TypeScript library adding 2.5D layered geometry, phase-field weathering, palette-preserving relighting, and surface-colliding particles to 2D pixel art.
TypeScriptCreated
What is rhinoc/xprite-phase?
Xprite Phase is a TypeScript graphics library that applies 2.5D layered intrinsic geometry, discrete phase-field weathering, palette-preserving relighting, and surface-colliding particle effects to 2D pixel art. It enables procedural surface aging and dynamic lighting without breaking restricted pixel-art color palettes.
Built on top of the @xprite/lighter package for the Xprite pixel editor, the library runs in both web browsers and Node.js environments. It also provides an optional WebGL2 renderer alongside Godot 4 shaders, allowing effects such as normal-map relighting and procedural weathering to integrate into different rendering pipelines. Repository documentation includes links to a live demo, a technical write-up, and bilingual English and Simplified Chinese overviews.
Pixel artists, game developers, and toolmakers building 2D sprite pipelines in browsers, Node.js, or Godot 4 can use this package to add procedural weathering, relighting, and particle physics to sprites.
Facts from GitHub (updated Dec 1, 2026). License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.
A library of 244 pixel art effects and animations, each a small piece of code: fire, explosions, magic, weather, UI and critters. Play them live, recolor them, drop them into a browser game or export sprites. Includes a Claude Code skill for making more.
Inference code for RD Flow 64, a 271 million parameter text-to-image model that draws real 64 by 64 pixel art pixel by pixel, without upscaling or downscaling, on Windows, Linux and macOS.
A small sprite-stacking renderer written in plain WebGL2 with no libraries: a free camera, deferred lighting and hidden-surface removal, drawing scenes as stacks of flat slices with measured overdraw.