Lab
Paint Mixer
a colour picker that works like a paint well. drop pigments in, stir with the pointer, and the mixture under the ring at the centre is the colour picked.
key insight: paint mixes by kubelka-munk, so each channel is mixed as absorption over scattering and turned back into reflectance. blue and yellow make green, where averaging rgb makes grey.
the well is a real fluid simulation on the gpu, and each texel carries the mixture's k/s times its weight, so advection does the mixing and streaks marble before they blend.