Released Xprite Lighter — lighting-aware normal estimation for pixel art ✨
Building on @moonfell_rpg's excellent Pixel Art Lighter, with a few improvements:
🔦 Estimates your sprite's existing light direction, so painted highlights aren't misread as height
🎨 Lab color clustering — survives anti-aliasing & dithering
📏 Adaptive thresholds that work on tiny 32px sprites
💡 Optional de-lighting for re-lit inputs
https://t.co/jc2oXuyDLX
playable and with github repo.
@RealAstropulse I got the same situation just like you, got banned at r/aesprite and some comments about how my work is useless for ai art has no soul so its no need to build any toolchain for it. but hey, ai is only a method just like programming for me, only depends how you use it.
@PeikGabriel@dextune yes, it fits uneven grid sizes. but as it is programmatic rather than regeneration, it may leads to double pixel or slightly size stretching. you can have a try in the playground demo at top of my blog. https://t.co/I2yh55pwlA
I authored this project weeks ago, mostly based on @RealAstropulse's pixel-art-fixer. but with some tweaks.
What I kept:
- Multiple candidates and an arbitration stage
What I changed:
- Choose between complete grids, not just cell widths.
- Support fractional cell widths.
- Binarize semitransparent pixels.
detail in my blog: https://t.co/nhLNcoe3GI
xprite-pixelate
Recover the pixel grid in AI art, with one clean pixel per cell
This TypeScript and WebAssembly package finds the native grid in AI pixel art and returns one clean pixel per cell. It handles uneven cell widths and can also turn ordinary images into pixel art.
Each recovered cell gets one colour. Adaptive palette snapping merges near duplicate shades, cells outside the art become transparent, and a helper removes a flat background.
It runs in browsers and Node with no runtime dependencies, and serves as the importer for the Xprite pixel editor. Large images can take a few seconds, so the README suggests a Web Worker.
https://t.co/g5wgYZg54m
@RealAstropulse just because ai makes everything easier so more novices there. maybe its the best time to repost those techniques now.
hard to admit that im one of them, but i try not to exaggerate and repeat old stuffs but do some real improvement.
Released Xprite Lighter — lighting-aware normal estimation for pixel art ✨
Building on @moonfell_rpg's excellent Pixel Art Lighter, with a few improvements:
🔦 Estimates your sprite's existing light direction, so painted highlights aren't misread as height
🎨 Lab color clustering — survives anti-aliasing & dithering
📏 Adaptive thresholds that work on tiny 32px sprites
💡 Optional de-lighting for re-lit inputs
https://t.co/jc2oXuyDLX
playable and with github repo.