P4.1: integrate gem sprite sheet (768x128 RGBA, index order R,O,Y,G,B,P)

Key the painted checkerboard out of the provided gem art via an
edge-connected flood fill (8-conn, light+desaturated predicate) so the
gems' interior specular highlights are preserved, then slice the 6 gems
by alpha bbox, premultiply-resize each to fit 108x108, and center one
per 128x128 transparent cell in index order (red, orange, yellow,
green, blue, purple).
This commit is contained in:
swipelab
2026-06-04 22:21:54 +03:00
parent aa2068425d
commit 8e5781fabe

BIN
assets/gems/gems.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB