Symbol Swell
A field of tiny triangles, circles and squares that follows slow wave bands, lights up where the cursor splashes and can carve text out of itself.
pixikit.com/docs/effects/symbol-swell
Customize
Font weight
Text size0.60
Shapes
Cell size10px
Dot size0.75
Color
Hover color
Background color
Speed1.0
Scale1.00
Contrast1.00
Brightness0.40
Flow0.0
Direction0deg
Fade0.25
Interactive
Splash radius40px
Splash strength0.40
Glow0.35
Intro
Intro duration1.6s
Paused
Props
27| Name | Type | Default | Description |
|---|---|---|---|
text | string | "" | Optional text carved out of the field: cells under the glyphs stay empty and the waves flow around them. |
fontFamily | string | "Geist, \"Geist Sans\", system-ui, sans-serif" | CSS font family used to draw the text cutout. |
fontWeight | string | number | 500 | Font weight of the text cutout. |
textSize | number | 0.6 | Text height as a fraction of the container height; long text shrinks to fit the width. |
shapes | "mixed" | "squares" | "circles" | "triangles" | "mixed" | mixed draws dark bands as triangles, mid bands as circles and bright bands as squares; the others use one glyph and vary its size per band instead. |
cellSize | number | 10 | Size of one grid cell in CSS pixels. |
dotSize | number | 0.75 | Glyph size as a fraction of the cell. |
color | string | "#929292" | Glyph colour; one flat colour for the whole field. |
hoverColor | string | "#ffffff" | Colour the glyphs step towards inside a splash. |
backgroundColor | string | "#000000" | Background colour behind the glyphs. |
speed | number | 1 | How fast the wave bands morph over time; 0 freezes them. |
scale | number | 1 | Size of the wave bands; larger values give broader, calmer swells. |
contrast | number | 1 | How sharply the field is cut into its three bands. |
brightness | number | 0.4 | Shifts the balance between dark, mid and bright bands. |
flow | number | 0 | Drift speed of the field in cells per second; 0 evolves in place. |
direction | number | 0 | Drift direction in degrees, used when flow is above 0. |
fade | number | 0.25 | Strength of the radial fade into the background towards the edges; 0 disables it. |
interactive | boolean | true | Lets the cursor splash into the field, lighting up the glyphs under it and along its path. |
splashRadius | number | 40 | Size of a cursor splash in CSS pixels. |
splashStrength | number | 0.4 | How brightly a splash lights the glyphs under the cursor; low values barely show. |
glow | number | 0.35 | Bloom on lit glyphs; 0 turns the glow off. |
intro | boolean | true | Plays a spawn animation on mount: the shapes pop in along a wave that travels from the centre to the corners. |
introDuration | number | 1.6 | Length of the intro wave in seconds. |
introKey | string | number | 0 | Change this value to replay the intro wave without remounting. |
paused | boolean | false | Freezes the wave motion; splashes keep working. |
onError | (error: Error) => void | None | Called when WebGL is unavailable; the canvas stays empty. |
className | string | None | Extra class names for the canvas. |