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 demoChange 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
Includes Skill instructions, a Python generator, an HTML template, design notes, and an offline preview. Requires Python 3.10+ with no additional dependencies. Supports custom text and colors, keyboard controls, and reduced motion.
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
Add the folder to your project and ask your assistant to read SKILL.md. If your tool supports Skills, follow its installation method.
- 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.


