SDF Lens Blur — WebGL Circle Effect

site profile thumbnail
A WebGL lens blur effect built with Three.js and GLSL Signed Distance Fields (SDFs), ported from a Codrops tutorial by Guillaume Lanier. A circle stroke with a pulsing heartbeat animation reacts to mouse proximity — the blur expands and the stroke thickens as the cursor passes over the edge. The interior displays a customizable image loaded directly from a Webflow Image element, making it easy to swap without touching any code. Built with vanilla Three.js via CDN, zero dependencies beyond a single script tag.