Crate poisson [−] [src]
Poisson-disk distribution generation
Generates distribution of points 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
Structs
Grid | |
PoissonDisk |
Generates Poisson-disk distribution in [0, 1]² area with O(N) time and space complexity relative to the number of samples generated. Based on Ebeida, Mohamed S., et al. "A Simple Algorithm for Maximal Poisson‐Disk Sampling in High Dimensions." Computer Graphics Forum. Vol. 31. No. 2pt4. Blackwell Publishing Ltd, 2012. |
PoissonGen |
Traits
VecLike |
Describes what traits the algorithm needs to be able to work. |