Skip to main content
https://travis-ci.org/emulbreh/bridson.svg?branch=master

bridson

Two Dimensional Poisson Disc Sampling using Robert Bridson’s algorithm

https://cdn.rawgit.com/emulbreh/bridson/master/sample.svg

Usage

>>> from bridson import poisson_disc_samples
>>> poisson_disc_samples(width=100, height=100, r=10)
[(18.368737154138397, 0.6537095218417459),
 (31.037620677039477, 0.11127035812202124),
 (42.36176894248073, 7.038053455899708),
 ...
 (39.42578238367568, 99.18831048188478),
 (73.33459914827051, 99.50928386778354),
 (98.09958160385061, 99.1575330533914)]

Release files for bridson 0.1.0

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

Source distribution (sdist)

Source distribution for bridson 0.1.0
File Size Uploaded
bridson-0.1.0.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bridson 0.1.0
File Interpreter ABI Platform
bridson-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.5 kB

Release files / bridson-0.1.0.tar.gz

Download URL bridson-0.1.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3bed81794fee483d2c1ac062d0091dd8d52f3d7dcf7b3b4f71b416a3060fbd79
BLAKE2b-256 checksum
How to use checksums
eb2839f1e3da01204d5871f88aafa6badaf7b127a723493ebcfbc148494822a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / bridson-0.1.0-py3-none-any.whl

Download URL bridson-0.1.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb0d73dce92e5566fce0e986fb8742dc983e3cea2b7dcedc3cebddd38f36065c
BLAKE2b-256 checksum
How to use checksums
5989c62d80cb0014f998a2759e463e333f599caf6bc1d8847a159a82a734a20b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

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