Mosaic Waves

Waves rolling through a mosaic of shifting tiles

Customize

Pitch
4
Fill
0.50
Feather
0.15
Speed
1.00
Warp
0.38
Warp Scale
3.0
Detail Scale
7.0
Wave Scale
4.0
Falloff
5.0
Brightness
5.0
Ambient
0.00
Gamma
2.20
Vignette
0.00
Opacity
1.00
Color
Hot Color
Background
Cursor Pull
0.35
Cursor Glow
0.25
Cursor Reach
0.28

Props

30
widthstring | number

Container width.

Default"100%"
heightstring | number

Container height.

Default"100%"
classNamestring

Additional CSS classes.

Defaultundefined
childrenReactNode

Content rendered above the effect.

Defaultundefined
pitchnumber

Distance between tile centres in CSS pixels.

Default4
fillnumber

Portion of each cell the tile fills, from 0 to 1.

Default0.5
shape"square" | "dot"

Tile silhouette.

Default"square"
feathernumber

Softness of the tile edge, from 0 to 1.

Default0.15
speednumber

How fast the field drifts.

Default1
warpnumber

Strength of the domain warp that folds the field.

Default0.375
warpScalenumber

Scale of the warp field.

Default3
detailScalenumber

Scale of the finer warp riding inside the first.

Default7
waveScalenumber

Scale of the wave field being lit.

Default4
falloffnumber

Falloff exponent. Higher values tighten the bright ridges.

Default5
brightnessnumber

Overall gain applied to the wave.

Default5
ambientnumber

Level the darkest tiles settle at.

Default0
colorstring

Colour of the wave.

Default"#3366ff"
hotColorstring

Colour the brightest ridges shift toward.

Default"#bfd4ff"
backgroundColorstring

Background fill colour. Accepts "transparent".

Default"#0a0a0a"
gammanumber

Contrast curve applied at the end.

Default2.2
vignettenumber

Darkening toward the edges, from 0 to 1.

Default0
opacitynumber

Master alpha, from 0 to 1.

Default1
cursorInteractionboolean

Let the pointer bend and light the field.

Defaulttrue
cursorPullnumber

How far the pointer pulls the field.

Default0.35
cursorGlownumber

How much the pointer lights nearby tiles.

Default0.25
cursorReachnumber

Reach of the pointer, from 0 to 1.

Default0.28
adaptiveQualityboolean

Drop resolution when the frame rate falls short.

Defaulttrue
targetFpsnumber

Frame rate the adaptive pass aims for.

Default60
dprnumber

Upper bound on device pixel ratio.

Default2
pausedboolean

Hold the animation still.

Defaultfalse