3 ms·
(Replying to myself because the above was posted over 2 hours ago) I was thinking about how I'd go about it, and I think first I'd Hilbert sort the colours in
by pixelpoet 6mo ago
(Replying to myself because the above was posted over 2 hours ago)
I was thinking about how I'd go about it, and I think first I'd Hilbert sort the colours in something like OKLab space, then generate a PDF from this using Just Noticeable Diff weights, then sample that PDF using something either uniform regular or golden ratio samples (must be monotonically increasing).