Grid Distortion

WebGL-based grid distortion effect that warps images based on mouse interaction. Features Three.js shader materials, configurable grid size, and smooth relaxation effects.

crazy-componentsgriddistortionwebglthreeshaderinteractive

Props

Customize the component with these props

PropertyTypeDefaultDescription
grid
number20Grid size for distortion effect.
mouse
number0.3Mouse influence strength.
strength
number0.15Distortion strength multiplier.
relaxation
number0.1Relaxation speed for smooth transitions.
imageSrc
stringundefinedSource URL of the image to distort.
className
stringundefinedAdditional CSS classes for custom styling.
Grid Distortion - Crazy Components Component | UILora