Back to AIX Effects LibraryQA Verified · Synced
Background & 3D/<LiquidDistortion />·Intermediate

Liquid Distortion

Updates filter properties directly via refs for smooth zero-overhead ripple feedback.

Next.js 16+React 19TypeScriptTailwind CSSSVG Filters
SVG feTurbulence Poolscale 26 · visc 0.1
Viscous Fluid Ripple
Stir pointer or tap anywhere inside pool
Scoped useId Filter

Stir pointer or press pool surface to trigger viscous liquid surge.

Installation

Zero External Dependencies

Zero external packages needed.

Usage

import { LiquidDistortion } from '@/components/effects/library/spatial/LiquidDistortion'

<LiquidDistortion
  baseFrequency={0.018}
  displacementScale={26}
  viscosity={0.1}
  className="h-64 p-6 flex items-center justify-center"
>
  <span className="font-bold text-white">Organic Surface</span>
</LiquidDistortion>

Props & API Reference

4 props
PropTypeDefaultDescriptionEffect
displacementScalenumber26Maximum SVG displacement amplitude.Controls peak ripple distortion strength.
baseFrequencynumber0.018Turbulence noise frequency.Changes liquid ripple wavelength.
viscositynumber0.1Inertia blending viscosity coefficient.Tunes liquid responsiveness.
accentColorstring'#536dfe'Core gradient color hue.Re-tints fluid orb.

More in Background & 3D

View All 36 →
AuroraMesh.tsxcycle 11s · blur 40px
Atmospheric GPU Mesh

Pauses automatically via IntersectionObserver when scrolled out of viewport.

Electric Blue × Violet × Cyan

Aurora Mesh

Layered GPU gradient mesh drifting gracefully on opposing keyframe cycles with offscreen pause.

View Details
Sweep cursor or tap cells10×6 · 650ms

Interactive Grid

Reactive square matrix grid flashing sharply along pointer path and decaying smoothly.

View Details
Pointer repel field34 nodes · 95px

Particle Field

Retina-crisp Canvas 2D network responding to pointer repulsion and pausing automatically offscreen.

View Details