Optionalface: FOptionalmethod: voronoiSeedMethodEnumOptionalcount: numberOptionalspacing: numberOptionaljitter: numberOptionalmaxSpacing: numberOptionalminSpacing: numberOptionalrelax: numberOptionalseed: numberOptionalfieldResolution: numberOptionalaffectors: VoronoiAffector<T>[]Optionalcombine: voronoiCombineEnumOptionalmethodHow the seeds are placed: uniformly at random, on a jittered grid, or evenly spaced by Poisson sampling.
OptionalcountWith random, how many seeds to place.
OptionalspacingWith grid, the distance between neighbouring grid points, in model units.
OptionaljitterWith grid, how far each seed moves from its grid point at random, as a share of spacing from
0 to 1.
OptionalmaxWith poisson, the spacing between seeds where the affectors' field is 0, in model units.
OptionalminWith poisson, the spacing where the field is 1, in model units. Left out, it is maxSpacing,
so the spacing is even.
OptionalrelaxHow many rounds of Lloyd relaxation move each seed to its cell's centre, evening the cells out; at most 100.
OptionalseedThe number the random draws start from; the same number gives the same seeds.
OptionalfieldWith poisson and affectors, how many points along the longest side the field is sampled at,
from 2 to 256; 0 reads it exactly, which is slower.
OptionalaffectorsThe affectors that grade the poisson spacing, each made by patterns.voronoi.affector.
OptionalcombineHow the influences of several affectors combine at a point.
The planar face to place the seeds in. Its edges may be curved and it may have holes.
A planar face and how to place seeds in it, for
patterns.voronoi.seeds2d.