Skip to content
PixiKit

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
NameTypeDefaultDescription
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.
backgroundColorstring"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.
scalenumber1Size of the pattern: length of the bends, tightness of the spiral, size of the contours.
centerXnumber0.5Horizontal centre of the vortex and radial patterns, 0 to 1 across the width. Values outside that put it off frame.
centerYnumber0.5Vertical centre of the vortex and radial patterns, measured from the top.
pitchnumber8Spacing of the dots in CSS pixels.
dotSizenumber0.62Diameter of a fully lit dot, as a share of the pitch.
variancenumber0.35How much dot size follows brightness. 0 keeps every dot equal, 1 is a full halftone.
shape"circle" | "square""circle"Shape of each dot.
baseDotsnumber0.12Brightness of the resting dots where no current runs.
stretchnumber0.2Lengthens bright dots along the flow.
streamsnumber4Number of currents, waves, spiral arms, rays or contour levels.
spreadnumber0.5Width of each current.
speednumber0.6Speed of the flow. 0 holds it still.
directionnumber0Direction of the flow in degrees. 0 runs to the right, 90 rises.
turbulencenumber0.6How much the currents wander.
trailnumber0.6Smoothness of the light along a current. Low values break it into travelling beads.
intensitynumber1Brightness of the currents.
bloomnumber0.6Soft glow around bright dots on a dark backdrop.
grainnumber0.2Fine grain over the lit dots.
interactivebooleantrueThe pointer bends the currents around it and a click releases a puff of light.
stirnumber1Strength of the pointer stir.
plumenumber1Size of the puff a click releases. 0 turns it off.
introbooleantrueThe currents sweep in on mount.
pausedbooleanfalseStops the motion. Reduced motion shows a still frame.
dprnumber2Maximum device pixel ratio of the canvas, capped at 2.
refRef<BeadCurrentsHandle>NoneGives plume(x, y, strength) and replay().
childrenReactNodeNoneContent laid over the effect, such as a hero headline.
classNamestringNone
styleCSSPropertiesNone

Related