Re:Exploring the Visible Spectrum in Python
by kelsolaar on Saturday August 03, 2019 @12:41PM
(#20601293)
I would like to add that the problem with the codedrome.com implementation is that it is relying on an approximation to convert wavelengths to RGB, it is a shame because you really just need the Colour Matching Functions (CMFs) data for the Standard Observer of interest, i.e. 2deg or 10deg (https://github.com/colour-science/colour/blob/develop/colour...) and a 3x3 matrix to convert from CIE XYZ to the RGB colourspace of interest, e.g. sRGB (https://github.com/colour-science/colour/blob/develop/colour...).
[ Parent
| on HN ]
There are no comments on this comment yet.