Interface: VoronoiSpec
Properties
relax?
ts
optional relax?: number;Rounds of Lloyd relaxation; more rounds give more even, rounder cells. Defaults to 2.
seed?
ts
optional seed?: number;Seed for the deterministic random generator. Defaults to 1.
size
ts
size: number;Typical cell width: about one cell per size × size area.
type
ts
type: "voronoi";