Skip to main content

Poisson disc sampling in arbitrary dimensions using Bridson's algorithm, implemented in python using numpy and scipy. Generates so-called "blue noise" that prevents clustering by ensuring each two points are at least "radius" apart.

Project description

Poisson disc sampling

Poisson disc sampling in arbitrary dimensions using Bridson's algorithm, implemented in python using numpy and scipy.

Generates so-called "blue noise" that prevents clustering by ensuring each two points are at least radius apart.

https://www.cs.ubc.ca/~rbridson/docs/bridson-siggraph07-poissondisk.pdf

Implementation is located in poisson_disc.py, while poisson_disc_sampling.ipynb contains some examples.

Available through PyPI as poisson_disc, https://pypi.org/project/poisson-disc/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

poisson_disc-0.2.1.tar.gz (3.7 kB view hashes)

Uploaded source

Built Distribution

poisson_disc-0.2.1-py3-none-any.whl (4.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page