#71 · Primary category: AI Design & Prototyping

unfake.js

browser-tools computer-vision pixel-art text-to-image vector-graphics

Fix AI pixel art and vector images right in your browser

Project last updated:07/24/26

GitHub Stars

909

Forks

58

Contributors

3

License

MIT

Why we included this project

Most image models are bad at producing usable pixel art. The output tends to come with irregular pixel sizes, color bleeding into neighboring cells, and jagged or semi-transparent edges, which is a real problem when you need an actual sprite. unfake.js is a browser-side library that automates the cleanup. It detects the true pixel scale of an upscaled image, downsamples without introducing blur or new colors, aligns to the pixel grid, and can cap the palette at a target size. There's also a vectorizer mode that runs raster art through imagetracer.js with noise reduction and pre-quantization, yielding clean, scalable SVG for UI and game assets. The core processing lives in a Rust/WebAssembly module, and the project ships ComfyUI and Python ports, so the same cleaning pipeline fits into larger automation setups rather than only the bundled interactive tool. For anyone whose generative workflow ends with raw output that has to become production-ready sprites, this can save hours of manual pixel fixing.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category