Open p0nce opened 1 year ago
See also https://github.com/AuburnSounds/gamut/issues/20 for ideas, better use the CSS names than new news (with CSS having the best ideas)
CSS Level 4 probably have all what we need and more. Started a new library...
Surprisingly hard design space
OpenGL largely leaves out colorspace to concentrate on a lot of data formats, such as all the compressed ones. Meaning in Gamut, colorspace ought to be supplemental to PixelType probably.
Before a larger Color API is done, would need just a few function in Wren, such as to amplify.
RGBA(r*t, g*t, b*t, a)