Skip to main content

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/

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.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

poisson_disc-0.2.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file poisson_disc-0.2.0.tar.gz.

File metadata

  • Download URL: poisson_disc-0.2.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.7.9 Linux/5.4.0-65-generic

File hashes

Hashes for poisson_disc-0.2.0.tar.gz
Algorithm Hash digest
SHA256 10caf06fe091f82d5a0a792a4af43bd46d351f2ea45f84939fd512f1d2d1467e
MD5 c03bb57dc8fc91684d96e0fac6ed9669
BLAKE2b-256 259576f0d43101112402d5a1db49fb7f510e21add072bd98a3054ba615534899

See more details on using hashes here.

File details

Details for the file poisson_disc-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: poisson_disc-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.7.9 Linux/5.4.0-65-generic

File hashes

Hashes for poisson_disc-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 238d154c224fe70a29cb823eda8debede4134ba215dade8fd7cbd14d0618dc9c
MD5 e3603344bafe68d93e86ba3f9ef3203e
BLAKE2b-256 400bec809733d1c5e70b719f8c4479f64c2d624c5dd8be2276e10852ebccbd0a

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.1

2 files

This release

0.2.0 This release

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page