# Inversion Lens Hover

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

---

## What it is

A WebGL image where a soft circular lens tracks the cursor and inverts a grayscale version of the image inside it, its edge broken up by 8-octave turbulence scrolling over time so the boundary churns like a living blot; the lens eases open on enter and closes when the pointer leaves or the element scrolls out of view.

## Behaviour

### Turbulent lens edge

The mask is a distance step whose threshold is perturbed by 8-octave time-scrolling turbulence, so the lens boundary is never a clean circle but a churning organic edge.

### Eased open and close

Cursor position and lens radius both lerp toward their targets; leaving the element or scrolling it out of view (via IntersectionObserver) drives the radius back to zero so the lens closes smoothly.

---

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