Skip to content

IHautaI/poisson-disc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

poisson-disc

An implementation of poisson-disc sampling with rejection based on the paper linked at the top of the page. Check poisson_disc.ipynb for examples and plots.

I'm not using a quadtree. For a faster 2D version you probably should. In higher dimension it won't matter.

To-do

  • make swapping distance function easier
  • optimize. Use some numpy?

About

A python implementation of the poisson disc sampling method described here: http://www.cs.ubc.ca/~rbridson/docs/bridson-siggraph07-poissondisk.pdf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages