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.1.1.tar.gz (3.3 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.1.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: poisson_disc-0.1.1.tar.gz
  • Upload date:
  • Size: 3.3 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.1.1.tar.gz
Algorithm Hash digest
SHA256 3d06dfc5f5f6c5652dcfa25d1ff24a93c0c40701729d6b47c06fc06c1a69e636
MD5 6d655eed0996359929854a52877300df
BLAKE2b-256 0c418b0a0360155b5a14c515fbdd35e46b40e222b3bcc1fb88528a9d9886c259

See more details on using hashes here.

File details

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

File metadata

  • Download URL: poisson_disc-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 943efd790742c53057e9e9b77ebb594ca4915326edfa8532e6e710529b20b60f
MD5 3413c442b8953f26fe5c4ef00a4fd25c
BLAKE2b-256 6d3cabc84711922c5bc07fa54614547a1ae1d1669d0fc25155136dac1db01e54

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.1

2 files

0.2.0

2 files

This release

0.1.1 This release

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