Color Constancy & Chromatic Adaptation (2D)

This 2D companion renders the same von Kries chromatic-adaptation math as the 3D version directly with Canvas2D fills instead of a fragment shader: nine reference patches under a tinted illuminant, a live per-channel adaptation blend, plus dedicated Simultaneous Contrast, Dress Illusion and Retinex-normalisation views, all driven from plain per-channel multiply/divide arithmetic you can inspect in the readout panel.