Files
vectorcraft/crates/trace/src
dotCooCoo a49f3041e5 Image Trace: Flat Logo looks up flat-area colors by cell
Keeping every distinct flat-area color made each lookup scan the whole
list, so an image with many slowly varying flat colors cost pixels times
colors. Each class's colors now sit in cells 2 * PURE wide on each
channel, and a lookup checks the pixel's cell and the 15 neighbors on the
sides it lies nearer. A test compares the lookup with a scan of every
stored color.
2026-11-28 03:27:38 -08:00
..