3 ms·
Hey my co-worker just built a similar tool for creating sprites: https://github.com/jakesgordon/sprite-factory https://github.com/jakesgordon/sprite-factory It
by netghost 15y ago
Hey my co-worker just built a similar tool for creating sprites: https://github.com/jakesgordon/sprite-factory https://github.com/jakesgordon/sprite-factory
It doesn't use simulated annealing, which is pretty neat, but it does generate really well packed pngs:
sf --layout packed --pngcrush awesome/
Leads to 87x80 at 6,873 bytes vs 103x92 at 7,237 bytes on the awesome image font demo. It will also output either sass or css.