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/

Metadata

Release files for poisson-disc 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for poisson-disc 0.2.1
File Size Uploaded
poisson_disc-0.2.1.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for poisson-disc 0.2.1
File Interpreter ABI Platform
poisson_disc-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / poisson_disc-0.2.1.tar.gz

Download URL poisson_disc-0.2.1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ce27112eabf1bbf3ad1b28a15005d31bfff8f45390bcdfd20f8ae0aceae2b0b4
BLAKE2b-256 checksum
How to use checksums
bda15cf94da9eb526be07d5544b9ca3f15e3961c527facf78556db9d5ff6b64a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.7.9 Linux/5.4.0-65-generic

Release files / poisson_disc-0.2.1-py3-none-any.whl

Download URL poisson_disc-0.2.1-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
158ee3f471018cf0d4c1cbd4bd6432fd66c7d56785a91e6234eefbf71e55a599
BLAKE2b-256 checksum
How to use checksums
cf6d61237b115905fbb7ad525d04acf5f621c7bff1dd7550041d4b399ce64790
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.7.9 Linux/5.4.0-65-generic

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release 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