Show HN: Ray-color, color palettes sampled off a raytraced tennis ball
Category: library
Tags: raytracing, color-palette, webgl, deterministic, typescript
Score: 6.0/10 (Innovation: 7, Technical: 7, Documentation: 5, Utility: 4)
Ray-color generates coherent color palettes by raytracing a sphere in a five-sided room with colored lights, sampling colors from the rendered surface. It offers a deterministic, dependency-free ~6 kB library with a WebGL2 preview and CPU fallback, enabling direct manipulation of lights and sample shapes.
Target audience: frontend developers, designers, generative artists
Repository: https://meodai.github.io/ray-color/
View on Hacker News