Prism Refraction Lab
A glass-like prism with seven colored beams on a dark stage. Direction, dispersion, and source color change the light paths, with a single pulse and vector export.
Live demo
Interactive demoCustomize & export HTML
Changing settings resets the demo. Downloaded HTML works independently offline.
Change direction and dispersion, choose a light source, and send a pulse through this playful geometric study.
Open preview in a new windowMake this effect yours
Copy SKILL.md into your AI assistant, or customize online and download standalone HTML. The package also includes an optional Python generator, readable template, design reference and offline preview.
Download SKILL.md only- Download and unzip
Keep the
prism-refraction-lab/folder. ItsSKILL.mdfile is the Skill entry point, and scripts/ contains the generator, templates/ the HTML template, and references/ the design notes. Open preview.html directly in your browser. - Give it to your AI coding assistant
Give your assistant SKILL.md alone to implement the specification, or use the full package for ready-made source. Customize online and download standalone HTML without Python.
- Describe the result you want
Build an offline prism lab with incoming-angle and dispersion controls, white or monochrome light, a single traveling pulse, and SVG export.


