Thumbnail.

Distance From OkZero

Description

All the sRGB colours in a Hilbert curve, sorted by their distance from {0,0,0} in Björn Ottosson's Oklab colourspace.

The (squares of the) distances were computed as (M-script based syntax):

  1. W = L'*(M1*X).^(1/3)
  2. for each column w in W: w'*w

where:

  • X is a 3x16777216 matrix of sRGB colours converted to linear RGB,
  • M1 as defined in Björn's programming sample in his blog post, and
  • L is the Cholesky factorization of M2'*M2.

Generated as a farbfeld image with C++ and the Eigen library, then converted to PNG.

Author

dan9er
5 entries

Stats

Date
Colors16,777,216
Pixels16,777,216
Dimensions4,096 × 4,096
Bytes49,695,609