
Fractal Glass
WebGL
A WebGL reveal effect that sharpens imagery through pointer or touch exploration for image-led heroes and campaign visuals.
Interactive Blur Reveal lets clarity arrive through exploration. The image sharpens because the user earns the reveal.
Use it for image-led heroes, portfolio previews, campaign visuals, and editorial moments where discovery adds meaning. The page job is reveal: the visitor should uncover visual detail, not essential instructions.
The main risk is gating. Anything users need before they explore must remain readable outside the blurred surface.
import InteractiveBlurReveal from '@/components/effects/interactive-blur-reveal' const Page = () => { return ( <main className="relative h-dvh w-dvw overflow-hidden bg-black text-white"> <InteractiveBlurReveal iChannel0="https://picsum.photos/seed/hover7/800/1000" iChannel1="https://pub-8abee449136941f5b0a1cd2c014534e9.r2.dev/vault-listing-images/assets-images/interactive-blur-reveal-noise.png" /> </main> )} export default PageA travel magazine can use Interactive Blur Reveal on the cover image of a destination feature. The photograph loads frosted, and the visitor's cursor or finger clears a sharp trail through it that softly fades back.
The outcome is curiosity. Exploring the image becomes a small reward, while the headline, standfirst, and link to the story sit outside the blurred surface so nothing essential is gated.
A fashion campaign page can use the same effect on a hero visual where discovery is optional.
Not for low-power-first pages, dense content, dashboards, checkout, or routes where performance is the main conversion lever.
Cap DPR at 1.0 on touch/mobile and up to 1.5 on mid-range desktop. Pause Interactive Blur Reveal offscreen and in hidden tabs, reduce postprocessing before shipping, and keep texture sizes controlled.
Keep meaningful content in HTML outside the canvas. On mobile, reduce shader quality and switch to a poster if the scene cannot hold frame rate.
| Prop | Type | Default | Description |
|---|---|---|---|
mouseRadius | number | 180 | Radius of the cursor reveal mask in canvas pixels. |
mouseInteraction | boolean | true | Enables pointer-driven reveal drawing. |
duration | number | 0.3 | Trail persistence and fade duration in seconds. |
Blur passes are fill-rate sensitive and the effect updates as the user explores, so cap DPR at 1.0 on mobile and 1.5 on desktop and limit blur radius and sample count on the lower tier. Update only the region under interaction where possible. Test pointer-driven blur on a real handset for smoothness.
Show the image in its intended end state typically the sharp, revealed version so users aren't left with content locked behind an interaction they can't perform. The HTML around it is unaffected. Never hide essential content solely behind the reveal.
Pause rendering and pointer handling when the canvas is offscreen or the tab hidden, and resume on visibility. Since updates are interaction-driven, idle the loop when no interaction is happening too. This keeps the effect cheap when it isn't in use.
Any text or links that matter stay in the DOM; the blur should reveal imagery, not gate readable content behind exploration. Provide the same information without requiring the interaction. Keep actions as real elements.
Choose a static image when the reveal is a gimmick rather than a benefit, when most users are on touch (where "explore to reveal" is awkward), or when performance is critical. If hiding the image behind blur doesn't add value, just show it. Reserve the reveal for moments where discovery is the experience.
Need a custom effect? Tell us what to create.