🎨 Chromophores: Why Dyes and Pigments Have Color
Interactive 3D chromophore lab built on the free-electron (particle-in-a-box) model: stretch a conjugated polyene chain from 2 to 18 double bonds and watch the HOMO-LUMO gap shrink, the absorption peak shift toward red (bathochromic shift) and the molecule's own visible color update live as the complement of the wavelength it absorbs. A dye/pigment toggle contrasts a chromophore chemically bonded into fiber against the same chromophore as an insoluble solid particle dispersed in a medium.
A 3D chromophore lab built on the free-electron (particle-in-a-box) model: stretch a conjugated polyene chain and watch the HOMO-LUMO gap shrink, the absorbed wavelength redshift, and the molecule's own visible color update live as the complement of what it absorbs.
🔬 What It Demonstrates
Conjugated π electrons behave like particles trapped in a box whose length grows with the number of double bonds. A longer box packs its energy levels closer together, shrinking the HOMO–LUMO gap and shifting the absorbed wavelength toward red (a bathochromic shift) — the same physics that makes short polyenes colorless UV absorbers and long ones, like carotenoid pigments, vividly colored.
🎮 How to Use
Drag the conjugated double bonds slider from 2 to 18 to rebuild the polyene backbone and instantly recompute the HOMO–LUMO gap, the absorbed wavelength, the live absorption-spectrum plot and the molecule's own displayed color. Switch between Dye and Pigment to see the same chromophore chemically bonded into a textile fiber versus dispersed as an insoluble solid particle in a resin block. Reset restores the default chain length and dye mode.
💡 Did You Know?
β-carotene's eleven conjugated double bonds shrink its HOMO–LUMO gap enough to absorb blue-violet light, which is exactly why carrots look orange — the color you see is never the color absorbed, it's always the complement.
Adjust the number of double bonds in a conjugated chain to see how it affects HOMO-LUMO gap and observed color.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install