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| Name | Type | Default | Description |
|---|---|---|---|
columns | number | 0 | How many dots across; 0 is automatic: as many as fit the width. |
rows | number | 0 | How many dots down; 0 is automatic: as many as fit the height. |
width | number | 640 | The widest the field grows when columns is 0, in pixels; it never overflows a narrower container. |
height | number | 300 | The field's height when rows is 0, in pixels. |
dotSize | number | 6 | Each dot's size in pixels. |
gap | number | 10 | The space between dots in pixels. |
color | string | "#7c3aed" | The dots' colour; any CSS colour, `currentColor` and variables included. |
amplitude | number | 8 | How far a dot rises and falls, in pixels. |
duration | number | 1.8 | Seconds for a dot to rise or fall once. |
direction | "right" | "left" | "down" | "up" | "right" | The way the wave travels. |
className | string | None |