Toggle Sidebar B
Light & dark mode D

CursorRipples

Fluid-like ripple distortion

Fluid-like ripple distortion

Props

PropTypeDefaultDescription
intensityrange10Strength of the ripple distortion
decayrange10How quickly ripples fade (higher = faster)
radiusrange0.5Radius of cursor influence
chromaticSplitrange1RGB channel separation along ripple edges
edges"stretch" | "transparent" | "mirror" | "wrap"stretchHow to handle edges when distortion pushes content out of bounds

Usage

vue
<Shader>
  <CursorRipples
    :intensity="10"
    :radius="0.5"
  >
    <Circle />
  </CursorRipples>
</Shader>