News for hackers. Stuff that matters.
Re:Oklab: A perceptual color space for image processing by mattdesl on Thursday December 24, 2020 @05:50PM (#25532253)
Great work, kudos to the author. Keen to try this in my own applications. I wonder how it fares with cubic spline gradients, I noticed some odd hues/tones depending on the colour space and Oklab might solve some of that. [1]

[1] https://observablehq.com/@mattdesl/perceptually-smooth-multi...

Re:Oklab: A perceptual color space for image processing by raphlinus on Thursday December 24, 2020 @06:38PM (#25532671)
I'm very curious about this too. I'm going to seriously consider this color space, as well as cubic splines, as native gradient types in piet-gpu, because I think it's likely we can see higher quality at modest GPU shader cost.
Re:Oklab: A perceptual color space for image processing by bjornornorn on Friday December 25, 2020 @01:40AM (#25534741)
Nice! Definitely the the type of use case I had in mind.
Re:Oklab: A perceptual color space for image processing by mattdesl on Sunday December 27, 2020 @01:46PM (#25553236)
I added Oklab to the Observable notebook. With the current set of palettes, it produces results that are very similar to Lab, but I imagine with some specific color/hue transitions Oklab will outperform Lab.

https://observablehq.com/@mattdesl/perceptually-smooth-multi...

Re:Oklab: A perceptual color space for image processing by bjornornorn on Tuesday December 29, 2020 @03:04AM (#25567736)
Yeah, should be similar a lot of the time. Deep blues are the colors that are the most different.