Training the pixel art model for the new golden age of game dev!

Hey folks! We're two friends from computer graphics & machine learning. Here's our latest progress on a WIP pixel art model for sprite generation using some fancy techniques!

These are 32x32 and 64x64, but the model can also do 16x16, 24x24, and 48x48.

We have a lot of ideas for improvements, up next!

u/HugoDzz — 11 hours ago
▲ 67 r/comfyui

How to fix AI pixel art: breakdown + source code + nodes

Hey folks!

Here’s a quick visual breakdown of an open-source pixel snapper I've made last year to cleanup messy AI-generated pixel art.

Check at the source code here :) There is also an online version if you wanna try without installing the CLI.

There are some ComfyUI nodes already made by the community:

- x0x0b/ComfyUI-spritefusion-pixel-snapper
- mediapixelkr/ComfyUI-SpriteFusion-PixelSnapper
- HexaDucket/ComfyUI_Pixel_Snapper

But feel free to fork it and tweak it to make your own nodes!

u/HugoDzz — 1 month ago

Fixing AI pixel art: breakdown + source code

Hey folks!

Here’s a quick visual breakdown of an open-source pixel snapper I've made last year to cleanup messy AI-generated pixel art.

It’s not perfect, but it can be useful for placeholders and prototypes.

Check at the source code :)

u/HugoDzz — 1 month ago
▲ 155 r/aigamedev

How pixel-art snapping works: breakdown + source code

Hey folks!

Here’s a quick visual breakdown of an open-source pixel snapper I worked on last year. The goal is to turn AI-generated mixel images into grid-aligned outputs.

It usually works well for gemini images as well as gpt-2 images (though some Flux images could be corrected too).

It’s far from perfect, but it can be useful for placeholders and prototypes.

Check at the source code :)

u/HugoDzz — 1 month ago

My retro-themed pixel art generator

Hey Svelters!

I've recently shipped a pixel art generator in sprite fusion, my retro-themed game dev tool suite, I'll be using this for making my sprites & animations in my web games.

The UI was some efforts because it's not really standards components, but I'm happy with it :D

PS: the CRT shader on the renderer is useless, but it's super cool imo so I kept it.

Tech stack:
- SvelteKit
- Custom renderer on top of Pixi JS
- Deployed on Vercel
- Open source pixel snapping lib "Pixel Snapper"

u/HugoDzz — 1 month ago

Pixel Snapper batch processing update (open source)

I updated Pixel Snapper so it can now process images in batches:

- CLI version is processing in parallel and it's very fast now!
- Web version is sequential because wasm cannot parallelize easily, I'll push it later though.

Btw, the tool just reached 2k stars on GitHub, since many people here are using it, thank y'all! I've made it for my own use fixing mixels generated by AI, but glad it helps folks out there!

u/HugoDzz — 3 months ago