prisma
prisma copied to clipboard
A powerful color representation, manipulation and conversion library that aims to be easy to use.
Delta-E allows for quantifying color difference. It's very useful in many applications.
Converting spectral data to XYZ is an important process for colorimetry.
The mean of Rgb is a very simple process, but the mean of polar colors is a bit more involved, as is the mean of xyY. It would be nice...
It is incorrect to compare XYZ coordinates with different standard observers together. Evaluate if it would be worth extending `Xyz` to `Xyz` where S is a unit struct encoding the...
It would be nice to be able to pack colors into a buffer, and to swizzle the channels if necessary.
Many functions are trivial and should be inlined. Do an inlining pass over the code.
Lerp always takes the shortest path on angular channels. Sometimes, it might be desirable to take the other path, and so there should be a method to support that. Non-angular...