Toggle Sidebar B
AppearanceLight & dark mode D

Metallic Paint

Liquid metallic paint shader which can be applied to SVG elements.

Default

The shader paints over the shape of any image with a transparent or white background. Every prop is wired to the controls underneath. It needs WebGL2.

Light previewReplay previewOpen in new tab

Customize

Tint Color
Dark Color
Light Color
Seed42
Scale4
Refraction0.01
Blur0.015
Speed0.3
Brightness2
Contrast0.5
Angle0
Fresnel1
Pattern Sharpness1
Wave Amplitude1
Liquid0.75
Noise Scale0.5
Chromatic Spread2
Distortion1
Contour0.2

API Reference

MetallicPaint

PropTypeDefaultDescription
imageSrcstringrequiredURL or path to the image used for the metallic paint effect. The image is processed internally.
seednumber42Random seed for pattern generation. Different values create different pattern variations.
scalenumber4Scale of the metallic pattern. Higher values create more repetitions.
refractionnumber0.01Amount of chromatic aberration (color separation). Creates the rainbow edge effect.
blurnumber0.015Blur amount for the pattern transitions. Higher values create softer gradients.
liquidnumber0.75Amount of liquid/wavy animation applied to the pattern.
speednumber0.3Animation speed multiplier. Set to 0 to disable animation.
brightnessnumber2Overall brightness of the metallic effect. Values above 1 increase brightness.
contrastnumber0.5Color contrast of the effect. Higher values create more distinct light/dark areas.
anglenumber0Rotation angle of the pattern in degrees.
fresnelnumber1Fresnel effect intensity. Controls edge highlighting based on viewing angle.
lightColorstring#ffffffHex color for the bright/highlight areas of the metallic effect.
darkColorstring#000000Hex color for the dark/shadow areas of the metallic effect.
patternSharpnessnumber1Controls the sharpness of metallic band transitions. Higher = sharper edges.
waveAmplitudenumber1Intensity of the wave distortion effect.
noiseScalenumber0.5Scale of the noise pattern. Higher = more detailed noise.
chromaticSpreadnumber2Multiplier for chromatic aberration spread between RGB channels.
mouseAnimationbooleanfalseWhen true, mouse position controls wave animation instead of auto-loop.
distortionnumber1Amount of noise-based distortion applied to the pattern flow (0-1).
contournumber0.2Intensity of edge contour effect that warps the pattern along shape boundaries (0-1).
tintColorstring#feb3ffHex color for color burn tint effect. White = no tint.

Accessibility

Keyboard shortcuts and ARIA behavior.

  • The output is a canvas with no text alternative. Put a label on the parent when the shape carries meaning.
  • Set speed to 0 to freeze the animation for users who prefer reduced motion.