Describes how to use the golden ratio to generate a uniform distribution of hues with similar lightness values.
I came in expecting the usual revelation about “Oh, RGB < HSL/HSV for this sort of work”, but the golden ratio bit was quite nifty. Good submission @etc !
This is excellent. I knew that we see golden-ratio rotation in how some plants position their leaves, leading to each new leaf only minimaly overlapping all lower-lying leaves; but it had never occurred to me to use golden-ratio rotation on an HSL colour’s hue, leading to each new colour only minimally overlapping with all prior colours.
This solves a particular problem for me: the plotting tools I use uniformly-spaced colour scales. This means that if I make a plot with two groups, and then a plot with three groups, the new plot does not use the same two colours plus another one. A golden-ratio scale will solve this beautifully.
Looking for the mechanism behind golden-ratio rotation in plants I found a fascinating article giving a bird’s-eye view of the subject, The mathematical lives of plant. Some bits that struck me particularly forcefully:
Addendum: deterministic sequences that fill a space more-or-less uniformly are apparently called low-discrepancy sequences.
While HSV is definitely better, and harmonics are good, the next “level” here is to use CIELCH, which is a colorspace that maps more closely to our perception of color. It’s another polar space, like HSV (LCH = luminance, chromaticity, hue), so the same basic logic works, but the math for moving about the space is different.
//Used to build software for a paint company, they were big on CIE because they cared about the perceptual properties of each color.
If you want a uniform distribution, why not just use a uniform distribution instead of faking it with golden ratio subdivisions?