A Grounded Conceptual Model for Ownership Types in Rust
Summary
The article describes Spectrimage, a client-side color palette extractor that builds five-color palettes from images. It documents an iterative process that shifts from RGB quantization to OKLCH, uses K-means++ with K=14, and applies a series of rules (natural merge, phantom guard, slot allocation) to produce palettes that feel human-selected rather than purely mathematical. It also covers deterministic seeding, swatch selection based on centroid chroma, and ongoing refinements to improve perceptual relevance across test images.