Clone Project

SDF Lens Blur — WebGL Circle Effect

Created by
Richard Segura
Similar Projects
Oops! Something went wrong while submitting the form.

0 Comments

Be the first to leave a comment.
Loading
User is typing...
No Name
Set
4 years ago
Moderator
This is the actual comment. It's can be long or short. And must contain only text information.
(Edited)
No Name
Set
2 years ago
Moderator
This is the actual comment. It's can be long or short. And must contain only text information.
(Edited)
Load More
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Load More
Description:  
AI Description

Lens Blur is a WebGL effect that creates a dynamic lens blur using Three.js and GLSL Signed Distance Fields (SDFs). It features a pulsing circle stroke that reacts to mouse movements, expanding and thickening as the cursor approaches. The interior can display a customizable image sourced from a Webflow Image element, allowing for easy updates without code modifications.

Key Features:

  • WebGL lens blur effect utilizing Three.js and GLSL SDFs.
  • Interactive pulsing circle stroke that responds to mouse proximity.
  • Customizable image display loaded directly from a Webflow Image element.
  • Built with vanilla Three.js via CDN, requiring no additional dependencies.

Design Elements:

  • Dynamic visual effect with a pulsing heartbeat animation.
  • Black background to enhance the visibility of the blur effect.
  • Circle stroke that visually reacts to user interaction, creating an engaging experience.

Potential Use Cases:

  • Creative portfolios showcasing photography or digital art.
  • Interactive landing pages for tech or design companies.
  • Promotional websites for events or products requiring eye-catching visuals.
  • Educational platforms that utilize engaging graphics to illustrate concepts.

Conclusion: The Lens Blur component offers an innovative way to enhance user interaction through visual effects, making it suitable for various creative and promotional applications.

Description from Webflow:  
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.
Tags from Webflow: 
webgl,  three.js,  glsl,  shader,  sdf,  interactive,  mouse,  animation,  canvas,  blur
.