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...
Post
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.
0 reposts6 likes