Introduction
Color science is a foundational pillar for modern visual computing, yet it is notoriously difficult to teach within Electrical Engineering and Computer Science (EECS) curricula. Often relegated to a single lecture, students frequently walk away with significant misconceptions—viewing color either as a purely subjective sensation or as a simple sRGB cube. This paper presents a series of six interactive, web-based tutorials designed to bridge the gap between abstract physics and practical color models through 3D visualization and "live" mathematical derivations.
The Challenge of Color Science Education
The difficulty in teaching color science stems from two primary issues identified by the author:
- Dimensionality Mismatch: Color is fundamentally a 3D concept, but traditional textbooks rely on static 2D projections. Without the ability to rotate a color space or observe how a 3D gamut is sliced, students struggle to develop geometric intuition.
- The Rigor Gap: Educational tools often oscillate between being intuitive but imprecise, or rigorous but impenetrable. Students frequently use Color Matching Functions (CMFs) without grasping the physical units or the linear algebra connecting human cone responses to digital RGB values.
Interactive Methodology
To address these challenges, six interactive modules (T1–T6) were developed using modern web technologies like Plotly.js and Chart.js. The curriculum is structured to guide students from foundational basics to real-world applications.
The design of these tutorials follows three core principles:
- Mathematical Narrative: Tutorials are structured as step-by-step derivations. As students interact with plots (e.g., selecting primary lights), underlying linear equations and matrices update in real-time, demonstrating the direct impact of physical choices on mathematical models.
- Constructive Learning: Students are encouraged to "build" concepts. For instance, they may specify Spectral Power Distributions (SPDs) to construct lights that achieve specific properties, such as "imaginary" colors.
- 3D Interactivity: Key concepts like the spectral locus and color gamuts are presented in 3D. Linked views allow students to hover over data points in one plot and see the corresponding representation in another.
Key Insights and Pedagogical Ideas
The tutorials leverage the mathematical background of EECS students by framing human color perception as a linear system (characterized by additivity and homogeneity). This approach demystifies complex topics:
- Imaginary Colors: By visualizing the 3D LMS space, students see that the spectral locus is a curve. Any point outside its convex hull represents an "imaginary" color—a mathematical necessity that cannot be produced by physical lights.
- Color Blindness as Geometric Projection: Tutorial T6 treats dichromacy as a mathematical projection from 3D space onto a 2D plane, providing a more intuitive geometric understanding than traditional explanations.
- Engineering Choices in CIE XYZ: Rather than presenting the XYZ matrix as a given, the tutorials walk through the engineering constraints (e.g., positive coefficients, matching the luminosity function) that led to the 1931 standard.
Evaluation and Results
The tutorials were integrated into a course at the University of Rochester with approximately 30 students. Qualitative feedback indicated that over two-thirds of the cohort felt the tutorials significantly deepened their understanding compared to traditional lectures. Quantitatively, a pre/post-tutorial survey on camera color correction (T5) showed a dramatic increase in students' ability to explain key principles—rising from fewer than 10 students to nearly the entire class.
Conclusion
By combining mathematical rigor with interactive 3D visualization, these tools provide a robust framework for teaching color science to EECS students. The tutorials are open-sourced at https://horizon-lab.org/colorvis/, inviting community contributions to expand the curriculum into areas like color appearance models and HDR imaging.
Summary updated