Rubber Fluid

Rubbery fluid distortion shader

rubber-fluid-tw

Customize

Animation

1
7.5
10
1

Warp

0.77
1
1.5
3
2

Channels

3
3
2

Shading

0.001
0.3
5
2.1
0.9

Tint

1
0.07
1
0.8
1

Props

NameTypeDefaultDescription
widthstring | number"100%"Container width
heightstring | number"100%"Container height
classNamestring""Additional CSS classes for styling
childrenReactNodeundefinedContent rendered above the effect
speednumber1Animation speed multiplier (0.01–3.0)
zoomnumber7.5Zoom level of the pattern field (1–20)
iterationsnumber10Number of warp iterations (1–20)
iterationStepnumber0.77Step size between iterations (0.1–2.0)
seedFactornumber1Fractional seed factor per iteration (0.1–5.0)
warpPowernumber1.5Warp distortion strength exponent (0.1–5.0)
channelOffset1number3Color offset channel 1 (0–6.28)
channelOffset2number3Color offset channel 2 (0–6.28)
channelOffset3number2Color offset channel 3 (0–6.28)
driftnumber3Translation per iteration (0–10)
rotationRatenumber2Rotation multiplier per iteration (0–10)
compressionnumber0.001Compression curve applied before shading (0.0001–0.1)
thresholdnumber0.3Brightness threshold subtracted before power curve (0–1)
contrastnumber5Contrast exponent for final shading (1–15)
preBrightnessnumber2.1Pre-shade brightness multiplier (0.5–5.0)
preOffsetnumber0.9Pre-shade offset (0–2)
tintRnumber1Tint color red channel (0–1)
tintGnumber0.07Tint color green channel (0–1)
tintBnumber1Tint color blue channel (0–1)
glowIntensitynumber0.8Radial glow intensity from center (0–3)
backgroundColorstring"#000000"Background color in hex
opacitynumber1Master opacity (0–1)
cursorInteractionbooleanfalseEnable cursor interaction to intensify warp distortion near pointer
cursorIntensitynumber1Cursor effect strength multiplier (0–3)