4 ms·
Show HN: How I generate animated pixel art with AI and Python
- vunderba 10mo agoNice job! I also did some pixel art experiments several weeks ago with grid-based constraints via Img2Img with Gemini 3.0 Pro that might be of some interest: https://mordenstar.com/other/nb-sprites https://mordenstar.com/other/nb-sprites FYI there are several nice tools for quantizing to a grid as well as reducing to a smaller discrete color palette that I recommend using as well (unfake [1] and pixel-snapper [2]). [1] https://github.com/jenissimo/unfake.js https://github.com/jenissimo/unfake.js [2] https://github.com/Hugo-Dz/spritefusion-pixel-snapper https://github.com/Hugo-Dz/spritefusion-pixel-snapper
- sarthak_drool 10mo agoThanks! Those before-after visualizations on your post look great btw. unfake.js looks like a much cleaner solution than the custom Python script I cobbled together for this. Definitely going to check that out.