Poisson Disk Sampling

2017/04/14 code

Poisson disk sampling helps achieve a randomness that doesn't really feel that random. If one just populates a canvas with completely randomly placed dots, they will clump up in various haphazard patterns. However, sometimes we want a bit of a smoother distribution.

This is what true randomness looks like, pure noise:

This is what poisson disk sampling generates, "blue" noise: