Bead Currents
A matrix of dots lit by currents that wind across it like rivers: each dot swells and brightens as a current passes. The pointer stirs the flow and a click releases a puff of light.
pixikit.com/docs/effects/bead-currents
Customize
Preset
Colors2 of 10
Background color
Pattern
Scale1.00
Center x0.50
Center y0.50
Pitch8px
Dot size0.62
Variance0.35
Shape
Base dots0.12
Stretch0.20
Streams4
Spread0.50
Speed0.60
Direction0°
Turbulence0.60
Trail0.60
Intensity1.00
Bloom0.60
Grain0.20
Interactive
Stir1.00
Plume1.00
Intro
Paused
Props
32| Name | Type | Default | Description |
|---|---|---|---|
preset | "current" | "aurora" | "contours" | "galaxy" | "halftone" | "panel" | "signal" | "sunrise" | "current" | A named look. Values you leave at their default follow it; anything you set wins. |
colors | [string, string] | ["#5227FF", "#FF9FFC"] | The two colours the currents run between, from the first current to the last. |
backgroundColor | string | "transparent" | Fill behind the dots. Transparent shows the page; on a light backdrop the dots are drawn as ink. |
pattern | "streams" | "waves" | "vortex" | "radial" | "contours" | "streams" | Shape of the flow: winding streams, even waves, a spiral, rays from a point, or contour bands. |
scale | number | 1 | Size of the pattern: length of the bends, tightness of the spiral, size of the contours. |
centerX | number | 0.5 | Horizontal centre of the vortex and radial patterns, 0 to 1 across the width. Values outside that put it off frame. |
centerY | number | 0.5 | Vertical centre of the vortex and radial patterns, measured from the top. |
pitch | number | 8 | Spacing of the dots in CSS pixels. |
dotSize | number | 0.62 | Diameter of a fully lit dot, as a share of the pitch. |
variance | number | 0.35 | How much dot size follows brightness. 0 keeps every dot equal, 1 is a full halftone. |
shape | "circle" | "square" | "circle" | Shape of each dot. |
baseDots | number | 0.12 | Brightness of the resting dots where no current runs. |
stretch | number | 0.2 | Lengthens bright dots along the flow. |
streams | number | 4 | Number of currents, waves, spiral arms, rays or contour levels. |
spread | number | 0.5 | Width of each current. |
speed | number | 0.6 | Speed of the flow. 0 holds it still. |
direction | number | 0 | Direction of the flow in degrees. 0 runs to the right, 90 rises. |
turbulence | number | 0.6 | How much the currents wander. |
trail | number | 0.6 | Smoothness of the light along a current. Low values break it into travelling beads. |
intensity | number | 1 | Brightness of the currents. |
bloom | number | 0.6 | Soft glow around bright dots on a dark backdrop. |
grain | number | 0.2 | Fine grain over the lit dots. |
interactive | boolean | true | The pointer bends the currents around it and a click releases a puff of light. |
stir | number | 1 | Strength of the pointer stir. |
plume | number | 1 | Size of the puff a click releases. 0 turns it off. |
intro | boolean | true | The currents sweep in on mount. |
paused | boolean | false | Stops the motion. Reduced motion shows a still frame. |
dpr | number | 2 | Maximum device pixel ratio of the canvas, capped at 2. |
ref | Ref<BeadCurrentsHandle> | None | Gives plume(x, y, strength) and replay(). |
children | ReactNode | None | Content laid over the effect, such as a hero headline. |
className | string | None | |
style | CSSProperties | None |