by bj-rn·1y ago·view on hn ↗Spectral.js might also be interesting. It comes with a GLSL implementation of Kubelka-Munk and is MIT.https://github.com/rvanwijnen/spectral.js