← Back

ofxPoissonDiskSampling

github.com/mruegenberg/ofxPoissonDiskSampling · @mruegenberg
OF 0.9 Archived Utilities

Poisson Disk Sampling for openFrameworks.

13 5 Last commit 9y ago Created 11y ago

Forks

Forks pushed to more recently than mruegenberg/ofxPoissonDiskSampling itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.

armadillu/ofxPoissonDiskSampling by @armadillu · ★ 2 · pushed 2y ago

README

ofxPoissonDiskSampling



An OpenFrameworks wrapper for Poisson Disk Sampling, a method to generate random points in space with some randomness.

The code uses C++11 (but could easily be rewritten to conform to C++98).

The following images show the difference between "true" (actually pseudo-)randomness and Poisson Disk Sampling. I ran a Delaunay triangulation on both sets of samples.

ofRandom

ofxPoissonDiskSampling

Get this addon

HTTPS
SSH