Documentation

Liquify

Liquid-like interactive deformation effect

Props

intensitynumber
Default:10
Scale of the fabric displacement effect
stiffnessnumber
Default:3
Fabric rigidity (higher = stiffer canvas, lower = stretchy silk)
dampingnumber
Default:3
How quickly fabric motion settles
radiusnumber
Default:1
Cursor influence area
edges"stretch" | "transparent" | "mirror" | "wrap"
Default:stretch
How to handle edges when distortion pushes content out of bounds

Usage

<Shader>
  <Liquify
    intensity={10}
    radius={1}
  >
    <Circle />
  </Liquify>
</Shader>