poisson
This is a library for generating n-dimensional poisson-disk distributions.
It generates distribution of points in [0, 1]d where:
- For each point there is disk of certain radius which doesn't intersect with any other disk of other points
- Samples fill the space uniformly
Due it's blue noise properties poisson-disk distribution can be used for object placement in procedural texture/world generation, as source distribution for digital stipling, as distribution for sampling in rendering or for (re)meshing.
Usage
extern crate poisson;
extern crate rand;
extern crate nalgebra as na;
use ;