Your system asks for reduced motion, so VFX-JS draws nothing. Demos on this site show plain HTML.

Type

VoronoiParams

effects/src/voronoi.ts:204 ↗
import type { VoronoiParams } from "@vfx-js/effects";

Properties

bgColor

bgColor: string

Hex fill for shrunk-cell gaps. #rgb, #rgba, #rrggbb, or #rrggbbaa; alpha defaults to ff. Default #00000000.

breathe

breathe: number

Noise-driven shrink for cells outside mouse falloff, in [0, 1].

breatheScale

breatheScale: number

Spatial scale of breathe noise, in physical px.

breatheSpeed

breatheSpeed: number

Animation rate of breathe. 0 = static.

cellSize

cellSize: number

Cell pitch in physical px.

flatCells

flatCells: boolean

Sample at the cell's site only — mosaic / stained-glass look.

press

press: number

Mouse-driven shrink, as a fraction of the cell half-width. 0 = no shrink, 1 = the cell collapses to its site.

pressRadius

pressRadius: number

Distance from mouse at which press fades to 0, in physical px.

seed

seed: number

Hash seed; change for a different cell layout.

speed

speed: number

Animation rate, rad/sec. 0 = static.