Glass Prism Hero is a landing page hero where a glass prism splits white light into a spectrum that falls across a dot grid.
Features
- The cursor moves the light source
- Scrolling turns the prism
- Dispersion follows Snell's law for each wavelength
- Light and dark themes
Technical details
- One React component (TypeScript, about 480 lines) plus a demo file
- Plain WebGL, no dependencies
Files: glass-prism-hero.tsx, demo.tsx, package.json, README.md.