Dither

Customize Dither

RGB: (0.50, 0.50, 0.50)
Wave Amplitude0.30
Wave Frequency3.0
Wave Speed0.050
Color Num4
Pixel Size2
Mouse Radius0.30

Props

PropertyTypeDefaultDescription
waveColornumber[][0.5, 0.5, 0.5]RGB color values for the wave effect (0-1 range for each channel)
disableAnimationbooleanDisable or enable the wave animation
enableMouseInteractionbooleanEnable or disable mouse interaction with the dither effect
mouseRadiusnumber0.3Radius of mouse interaction effect (0.1-2)
colorNumnumber4Number of colors in the dither palette (2-16)
waveAmplitudenumber0.3Amplitude of the wave effect (0-1)
waveFrequencynumber3Frequency of the wave pattern (0.1-10)
waveSpeednumber0.05Speed of the wave animation (0-0.5)
pixelSizenumber2Size of individual pixels in the dither effect (1-10)
classNamestringcustom-ditherAdditional CSS class names for styling
widthstring100%Width of the dither container
heightstring600pxHeight of the dither container
ditherTypestringorderedType of dithering - 'ordered', 'floyd-steinberg', or 'random'
opacitynumber1Overall opacity of the dither effect (0-1)
blendModestringnormalCSS blend mode for the dither effect
enableGradientbooleanEnable or disable gradient overlay
qualitystringhighRendering quality - 'low', 'medium', or 'high'

Dependencies

three@react-three/fiber

Created with ❤️ by Cybershoora