Added on May 13, 2026
CMY Cube

About
An interactive CMY (Cyan, Magenta, Yellow) cube that simulates realistic transparent acrylic using custom GLSL shaders. Features real-time ray tracing for subtractive color mixing, refraction with chromatic dispersion, and up to 12 internal reflection bounces. The ground plane renders colored caustic shadows by tracing light through the cube's faces, while a mirrored reflection adds depth. Fully interactive controls let you adjust optical properties like IOR, absorption, saturation, and lighting. Built with Three.js and custom fragment shaders—no textures, pure math.
What it is
How it works
How it's built
Submitted by
Similar Three.js experiments
Sketches by curllmooha
made by curllmooha
Spectrum Field
made by Prinzipiell
Obsidian
made by Robert Leitl
Crack
made by Sujen Phea
Codevember 2026: Fold
made by Mr.doob