Three glass forms
Move between a clipped prism, circular lens, and softly textured frost pane.
Spatial & material
Shape a prism, lens, or frosted pane that bends a layered light field in response to pointer and keyboard input.
A material interaction without a 3D runtime
Create product optics, premium feature panels, interactive identity moments, and depth cues from CSS and a tiny input controller.
Move between a clipped prism, circular lens, and softly textured frost pane.
Pointer and keyboard events schedule at most one animation frame, only when input changes.
The export removes listeners, media-query subscriptions, and pending frames through its destroy hook.
Three-step workflow
Start from six materials spanning spectral, paper, ember, and smoke palettes.
Balance depth, blur, dispersion, response, radius, and border.
Use pointer movement or arrow keys, then export the standalone result.
No. CSS gradients, transforms, and a tiny event controller produce the effect.
Yes. Arrow keys direct the light and Home resets it to center.
No. A frame is requested only after active pointer or keyboard input.
Input transforms reset and the static glass composition remains visible.