Skip to content
PixiKit

Dot Wave

A field of dots with a wave travelling through it, sized by width and height, by rows and columns, or filling its container.

pixikit.com/docs/effects/dot-wave

Customize

Columns0
Rows0
Width640px
Height300px
Dot size6px
Gap10px
Color
Amplitude8px
Duration1.8s
Direction

Props

11
NameTypeDefaultDescription
columnsnumber0How many dots across; 0 is automatic: as many as fit the width.
rowsnumber0How many dots down; 0 is automatic: as many as fit the height.
widthnumber640The widest the field grows when columns is 0, in pixels; it never overflows a narrower container.
heightnumber300The field's height when rows is 0, in pixels.
dotSizenumber6Each dot's size in pixels.
gapnumber10The space between dots in pixels.
colorstring"#7c3aed"The dots' colour; any CSS colour, `currentColor` and variables included.
amplitudenumber8How far a dot rises and falls, in pixels.
durationnumber1.8Seconds for a dot to rise or fall once.
direction"right" | "left" | "down" | "up""right"The way the wave travels.
classNamestringNone

More background effects in Pro

View all

Related