All the sRGB colours in a Hilbert curve, sorted by their chroma/saturation/intensity in Björn Ottosson's Oklab colourspace.
Computing was similar to my previous Distance From OkZero entry, but with the L component fixed to 0 (M-script based syntax):
- W = M2(2:3,:)*(M1*X).^(1/3)
- for each column w in W: w'*w
where:
- X is a 3x16777216 matrix of sRGB colours converted to linear RGB,
- M1 and M2 as defined in Björn's programming sample in his blog post.
The blockiness in the bottom left corner is not computation error, I checked using ISymPy.
Generated as a farbfeld image with C++ and the Eigen library, then converted to PNG.