# Fractal Glass Hover

**Group:** Cursor and hover effects  
**Recording:** [https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/fractal-glass-hover.mp4](https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/fractal-glass-hover.mp4)  
**Source:** [https://ui.aryank.space/components/fractal-glass-hover](https://ui.aryank.space/components/fractal-glass-hover)  
**Human:** https://blankinterfaces.com/lab/fractal-glass-hover

---

## What it is

A hero image seen through vertical fluted glass: a WebGL shader slices it into ~35 refracted stripes, then eased cursor movement drives a subtle parallax that pushes harder where the distortion is strongest, so the surface reads like real ribbed glass reacting to the pointer.

## Behaviour

### Sampled refraction

Each stripe's offset is the average of 11 samples of a mod-based displacement, giving the fluted edges a soft, glassy falloff instead of hard steps.

### Distortion-weighted parallax

The cursor parallax is multiplied by the local distortion factor, so the image shifts more through the thickest part of the flute and the glass feels physically responsive.

---

[View all content](https://blankinterfaces.com/sitemap.md)
