# Poisson Disk Sampling: A Simple Algorithm with Surprising Depth

> Hacker News story 49536177 · language: en · submitted 2026-09-02
> Web version: https://zeli.app/story/49536177
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 189 · by [vismit2000](<https://news.ycombinator.com/user?id=vismit2000>) · 💬 22
[original](<https://stripeacross.com/posts/poisson-disk-sampling/>) · [HN discussion](<https://news.ycombinator.com/item?id=49536177>)

## Summary

Poisson disk sampling places points randomly but not too close together, a key tool in procedural generation and simulation. Bridson's 2007 one-page algorithm is efficient, but this post explores two improvements: a parental optimization that skips sampling angles too close to a point's parent, and tuning the distance distribution exponent to balance density and randomness. It also covers dynamic radius for stippling effects and introduces Mitchell's 2022 deterministic, maximal, and uniform sampling method.

## Key quote

> In 2024, a team of nine mathematicians released a monstrous, nearly 1,000 page proof of the geometric Langlands conjecture, and I have accepted that I will never understand even the statements that they proved, much less the proof itself.

## HN discussion (22 comments)

### [akkartik](<https://news.ycombinator.com/item?id=49538914>)

> Still one of the most satisfying debug UIs I ever came up with.
>
> https://akkartik.name/post/2023-11-04-devlog

### [jacobolus](<https://news.ycombinator.com/item?id=49536848>)

> Folks may find https://observablehq.com/@fil/poisson-distribution-generator... useful

### [Terr_](<https://news.ycombinator.com/item?id=49539845>)

> \> Consider when the algorithm places a point p and then samples its annulus to get a new point q.
>
> I was confused for a while thinking  p and q were swapped here, relative to the visualization below. [0] However I now think what I missed is that that the visualization is showing two points that are already firmly-established, and the question is where a potential third (unseen, unnamed) point could be placed.
>
> So metaphorically speaking, it's about picking a new direction of travel that isn't guaranteed to be into your own recent footsteps.
>
> [0] You might say I have problems minding my p's and q's.

---

## Cite

- Page: https://zeli.app/story/49536177
- Date: 2026-09-02
- Source: stripeacross.com (https://stripeacross.com/posts/poisson-disk-sampling/)
- Hacker News: https://news.ycombinator.com/item?id=49536177

## Other languages

- zh: https://zeli.app/zh/story/49536177 · markdown: https://zeli.app/zh/story/49536177.md
- ja: https://zeli.app/ja/story/49536177 · markdown: https://zeli.app/ja/story/49536177.md
- ko: https://zeli.app/ko/story/49536177 · markdown: https://zeli.app/ko/story/49536177.md
- de: https://zeli.app/de/story/49536177 · markdown: https://zeli.app/de/story/49536177.md
- es: https://zeli.app/es/story/49536177 · markdown: https://zeli.app/es/story/49536177.md
- ru: https://zeli.app/ru/story/49536177 · markdown: https://zeli.app/ru/story/49536177.md
