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 bridson.py, while poisson_disc_sampling.ipynb contains some examples.

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for poisson_disc-0.1.0.tar.gz
Algorithm Hash digest
SHA256 15cb7424b80871ce9e480d567633eea3ac791e77533fbf70e029115966ce4a69
MD5 17ad3b176330cb2ef386dbaafc644b5e
BLAKE2b-256 352112cacde578e2203e9b412bd72ecb717832b696aa9659101fba54f2a247c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: poisson_disc-0.1.0-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.6 Linux/5.4.0-65-generic

File hashes

Hashes for poisson_disc-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b1505ffce3c59318da9239127c8997b779a5a6207baeeab44bf62f7124cdcdf
MD5 2733652d77e775b0a5305e97ee10820e
BLAKE2b-256 bace51a154589fd6b9ba77d122ccf2d7fee81deac644eacf9113dd07db22f463

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.1

2 files

0.2.0

2 files

0.1.1

2 files

This release

0.1.0 This release

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