Skip to content
PixiKit

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
NameTypeDefaultDescription
waveColorstring | [number, number, number]GRAYColor of the waves: any CSS color, or an RGB array from 0 to 1.
backgroundColorstring | [number, number, number]BLACKColor 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.
palettestring[] | "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.
colorNumnumber4Number of shades.
pixelSizenumber2Size of each dither pixel, in px.
scalenumber1Size of the wave pattern.
waveSpeednumber0.05Speed of the waves.
waveFrequencynumber3How much finer each layer of detail gets.
waveAmplitudenumber0.3How strongly the finer layers of detail show.
contrastnumber1Contrast of the waves before dithering.
brightnessnumber0Brightens or darkens the waves.
enableMouseInteractionbooleantrueLets 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.
mouseRadiusnumber1Radius of the cursor effect.
mouseStrengthnumber1Strength of the cursor effect.
trailnumber0.5How long the cursor leaves a fading trail, from 0 to 1.
clickRipplebooleantrueA click sends a ring through the waves.
introbooleantrueResolves from chunky pixels to full detail on mount.
disableAnimationbooleanfalseFreezes the waves.
dprnumberNoneMaximum device pixel ratio, capped at 2.
classNamestringNone
styleCSSPropertiesNone

More background effects in Pro

View all

Related