Romain Guy @romainguy.dev · Jun 15

I've been working on a Kotlin/Compose Multiplatform to interpolate sRGB colors as mixtures of paints/pigments. It can produce results that are more appealing than the traditional sRGB interpolation that Composes uses (see screenshot). Not quite ready for release yet. github.com/romainguy/vi...

51 likes 5 replies

?

Replies

nicebyte · Jun 15

I assume you've seen this but if you haven't it might be interesting: scrtwpns.com/mixbox/

Romain Guy · Jun 15

The implementation is based on the extended Kubelka-Munk theory, using a fixed paint layer thickness and a fixed substrate reflectance. The latent space is based on the great paper Practical Pigment Mixing for Digital Painting. The main difference is that my implementation uses two small MLPs.

Mark Allison · Jun 15

That looks great to me, much better than the straight sRGB interpolation. The one that looks slightly odd is the yellow to blue at the left edge - yellow to green feels too quick, and draws my eye away from the otherwise smooth transition. I very much look forward to trying this out though

Alex Tardif · Jun 16

really nice work, looking forward to more :D