Dither Waves
Slow folding waves drawn in a few dithered shades, like an old one bit screen. The cursor erases, reveals or bends them and a click sends a ring through.
pixikit.com/docs/effects/dither-waves
Customize
Wave color
Background color
Dither mode
Palette
Color num4
Pixel size2
Scale1.00
Wave speed0.050
Wave frequency3.0
Wave amplitude0.30
Contrast1.00
Brightness0.00
Enable mouse interaction
Mouse effect
Mouse radius0.30
Mouse strength1.00
Trail0.50
Click ripple
Intro
Disable animation
Props
23| Name | Type | Default | Description |
|---|---|---|---|
waveColor | string | [number, number, number] | GRAY | Color of the waves: any CSS color, or an RGB array from 0 to 1. |
backgroundColor | string | [number, number, number] | BLACK | Color behind the waves. Pass 'transparent' to dither over your own background. |
ditherMode | "bayer" | "bayer4" | "bayer2" | "halftone" | "lines" | "crosshatch" | "noise" | "none" | "bayer" | Pattern used to dither the shades. |
palette | string[] | "none" | "gameboy" | "amber" | "sepia" | "ice" | "blueprint" | "none" | A named palette, or two to eight colors from dark to light. Replaces the wave and background colors. |
colorNum | number | 4 | Number of shades. |
pixelSize | number | 2 | Size of each dither pixel, in px. |
scale | number | 1 | Size of the wave pattern. |
waveSpeed | number | 0.05 | Speed of the waves. |
waveFrequency | number | 3 | How much finer each layer of detail gets. |
waveAmplitude | number | 0.3 | How strongly the finer layers of detail show. |
contrast | number | 1 | Contrast of the waves before dithering. |
brightness | number | 0 | Brightens or darkens the waves. |
enableMouseInteraction | boolean | true | Lets the cursor act on the waves. |
mouseEffect | "erase" | "reveal" | "ripple" | "erase" | Erase darkens the waves under the cursor, reveal lights them and ripple bends them. |
mouseRadius | number | 1 | Radius of the cursor effect. |
mouseStrength | number | 1 | Strength of the cursor effect. |
trail | number | 0.5 | How long the cursor leaves a fading trail, from 0 to 1. |
clickRipple | boolean | true | A click sends a ring through the waves. |
intro | boolean | true | Resolves from chunky pixels to full detail on mount. |
disableAnimation | boolean | false | Freezes the waves. |
dpr | number | None | Maximum device pixel ratio, capped at 2. |
className | string | None | |
style | CSSProperties | None |