alt.hn

2/14/2026 at 8:56:46 AM

Rendering the Visible Spectrum

https://brandonli.net/spectra/doc/

by signa11

2/16/2026 at 12:31:26 AM

> The right approach would have been to select a color appearance model (CIECAM02 is the standard), convert all our colors to this coordinate system, do the mixing in this coordinate system and then convert back to RGB. That being said, I did not want to deal with all the extra complexity that would have come along with this. Instead, I opted for a much simpler approach.

Python's nice `colour` package supports several color appearance models.[1]

[1] https://colour.readthedocs.io/en/master/colour.appearance.ht...

by mncharity

2/17/2026 at 1:44:32 AM

But I'm glad for the ground-truthy approach taken. I suggest a pattern, of interesting data being unavailable, because it doesn't align with incentives around science or commerce. Often it exists, just sitting on someone's disk, because they think no one is likely to care.

by mncharity