Glass Lens
Refractive glass lens with chromatic dispersion, surface normals, and follower lag.
Refractive glass lens with chromatic dispersion, surface normals, and follower lag.
Liquid refractive glass lens that tracks pointer coordinates with inertial follower droplets, dynamic chromatic dispersion, and directional specular highlights.
| Prop | Type | Default | Description |
|---|---|---|---|
| size | number | 0.3 | Base radius of the refractive lens. |
| thick | number | 1.3 | Bevel thickness multiplier determining refraction curve. |
| disp | number | 0.3 | Chromatic aberration dispersion factor separating R, G, B channels. |
| blur | number | 0.35 | Frosting blur kernel width applied across refracted texture. |
| mag | number | 1.12 | Lens magnification scale factor. |
| smo | number | 0.35 | Smooth minimum distance blend threshold for secondary droplets. |
| rim | number | 0.55 | Fresnel rim light intensity along the droplet periphery. |
| spec | number | 0.7 | Specular gloss highlight intensity from virtual directional light. |
| lag | number | 0.12 | Inertial follower damping factor for trailing droplets. |
| tin | number | 0.06 | Tint color mix ratio. |
| tint | string | "#9fd8ff" | Hex tint tone blended with refracted color. |
| background | HTMLCanvasElement | HTMLImageElement | string | procedural | Custom background image URL or canvas source. |
| paused | boolean | false | Pause animation loop manually. |