Sunset, Local Structure, and Color Budget
This version connects the scene and the theory directly. The sunset is compared in HSL and SCS, then two local regions — sky and sun — are sampled and read through the exact chromatic budget of SCS.
Controls
HSL
SCS
Sky sample — exact local budget
Sun sample — exact local budget
How to read the module
Exact law
Theory
SCS separates two different things.
ℓ ∈ [0,1] is the luminance term: it measures brightness relative to white.
π = (π₃, π₅, π₇) ∈ Δ² is the chromatic structure: a probability distribution on the three active channels.
On the simplex, saturation is S(π)=DKL(π||u) and chromatic entropy is L(π)=H(π). These obey an information-theoretic sum rule: S+L=log 3. The identity is generic for any probability distribution on three outcomes; what is color-specific here is the choice of three active channels and the physical reading of S and L.
In this module, the sunset scene is not the proof of the sum rule. It is the visual intuition. The two local samples — sky and sun — are what connect the scene back to the exact SCS quantities.