Open ionsharp opened 2 years ago
The code on the right (shader) attempts to replicate the code on the left (source).
The overall visual representation is seemingly incorrect. The range of hues is biased towards green and largely avoids red.
This is the only source I can find for this color space.
H, S, and M must be normalized to range [0, 1] prior to any calculations. The input range is [0-360, 0-100, 0-255].
[0, 1]
[0-360, 0-100, 0-255]
The code on the right (shader) attempts to replicate the code on the left (source).
The overall visual representation is seemingly incorrect. The range of hues is biased towards green and largely avoids red.
This is the only source I can find for this color space.