UNPKG

@thi.ng/poisson

Version:

nD Stratified grid and Poisson-disc sampling w/ support for spatial density functions and custom PRNGs

10 lines 307 B
import type { Vec } from "@thi.ng/vectors"; import type { PoissonOpts } from "./api.js"; /** * Produces a number of Poisson-disk samples based on given * configuration. * * @param opts - */ export declare const samplePoisson: (_opts: PoissonOpts) => Vec<number>[]; //# sourceMappingURL=poisson.d.ts.map