1

Assume a color space defined by a 256*256*256 RGB cube. A 1d color gradient is formed by transversing the cube over some path between two points e.g. 1, 2. These are examples of a path that covers only part of the color space. I am interested in a 1d path to transverse all points in the cube continuously and form a 16.7 million color gradient. Are there any known formulations for this?

Edit: this is one possible answer: Algorithm for generating a 3D Hilbert space-filling curve in Python

Edit2: this shows some implementations: http://www.alanzucconi.com/2015/09/30/colour-sorting/

6 segment gradient

color paths see fig 10.22

o17t H1H' S'k
  • 2,541
  • 5
  • 31
  • 52

0 Answers0