Project ideas from Hacker News discussions.

Quantifying Colour

📝 Discussion Summary (Click to expand)

Theme 1 – Approximation vs. Real Color Math
Commenters noted that the article uses simplified, “bell‑curve‑like” cone sensitivities rather than more accurate models (e.g., Stockman‑Sharpe).

“the typical LMS responses for human cones … could easily be plotted instead of the bell‑curve‑like things they use here - why? Is it good enough for illustration? … D65 is very blue here.” – herf
“The sensitivity curves shown here are normalized approximations … In reality, the sensitivity curves are less smooth …” – ekunazanu (author)

Theme 2 – Starting from SPD and Physics First
Several participants praised the decision to begin with spectral power distributions and integrals, arguing it builds a correct physical foundation before tackling perception.

“I was thinking … this article approaches color better than the majority … Many of them start from RGB and work backwards … at least this start with SPD right out of the gate. The cone response overlap is implied via plots right at the beginning, and the first equation is an integral, and the correct integral …” – dahart
“I agree that working from RGB backwards results in a lot of back‑and‑forth … Starting with the SPD … is ultimately more intuitive …” – ekunazanu (author)

Theme 3 – Quality of Visualizations / Artistic Effort
The diagrams and overall visual presentation were highlighted as a standout, almost artistic, aspect of the piece.

“There is a Knuth/TeX like elegance in the diagrams that you don't see on the web … the visualizations … it is a fabulous piece of art.” – pmkary
“It did take a while to make, and thanks for the kind words!” – ekunazanu (author)


🚀 Project Ideas

ConeVision Interactive Explorer

Summary

  • Interactive web app that visualizes accurate human cone responses (Stockman-Sharpe) for any spectral power distribution, correcting the approximations seen in many articles.
  • Core value: lets users see real color perception math instantly, bridging the gap between physics and perception.

Details

Key Value
Target Audience Educators, students, designers, and curious developers interested in color science
Core Feature Real-time SPD input → accurate LMS cone responses, XYZ, Lab, and perceptual color preview with toggle between approximations and fundamentals
Tech Stack React, TypeScript, D3.js (or Plotly), WebGL for rendering, optional Python/Flask backend for heavy calculations
Difficulty Medium
Monetization Hobby

Notes

  • HN commenters praised the article’s effort but noted “the colours and curves are approximations” and wished for “closer to 'real' color math” (herf, ekunazanu).
  • Provides an interactive way to explore cone overlap and matrix transforms, encouraging discussion on perception vs. physics and serving as a teaching aid.

ColorScience.js – Embeddable Visualization Library

Summary

  • A lightweight, reusable set of React/SVG components for teaching color science fundamentals (cone overlap, matrix transforms, chromaticity).
  • Core value: enables educators and writers to embed accurate, interactive diagrams directly into articles or tutorials, reducing the need for lengthy derivations.

Details

Key Value
Target Audience Bloggers, online course creators, textbook authors, and workshop instructors
Core Feature Customizable visualizations: cone fundamentals, SPD→XYZ→Lab pipelines, interactive sliders for light source and adaptation
Tech Stack TypeScript, React, SVG, optional Storybook for component docs, builds to UMD/ESM bundles
Difficulty Medium
Monetization Hobby

Notes

  • Users appreciated the article’s visual quality but wanted more accessible intuition (“it would be better if it were closer to 'real' color math” – herf).
  • Offers embeddable, interactive blocks that can replace static images, fostering deeper engagement and facilitating community-driven improvements on platforms like Observable or CodeSandbox.

SpectraLab API – Accurate SPD-to-Color Conversion Service

Summary

  • A hosted microservice that accepts spectral power distribution data (CSV/JSON) and returns precise LMS cone responses, XYZ, Lab, and perceptual metrics using up-to-date fundamentals.
  • Core value: provides developers with reliable, high-performance color science calculations without needing to implement complex math themselves.

Details

Key Value
Target Audience Developers, researchers, display manufacturers, and color‑critical application builders
Core Feature REST/GraphQL endpoint: POST SPD → JSON response with LMS, XYZ, Lab, ΔE, and optional chromaticity diagram
Tech Stack Python/FastAPI, NumPy, colour-science library (or colormath), Dockerized, deployed on Kubernetes or serverless
Difficulty Medium
Monetization Revenue-ready: usage-based pricing (e.g., $0.001 per 1,000 calls)

Notes

  • Commenters highlighted the need for accurate fundamentals (“the sensitivity curves shown here are normalized approximations… not accurate” – ekunazanu) and praised starting from SPD.
  • An API would let users quickly test ideas, integrate accurate color conversion into products, and spark discussion on perceptual metrics vs. device‑centric color spaces.

Read Later