Tarass
Tarass

Reputation: 131

Bridson’s algorithm for Poisson-disc sampling on Scratch

I try to program the Bridson’s algorithm for Poisson-disc sampling on scratch, it seams to be some side effect or a bug I can't find. Could you help me ?

Here is my try : My try online.

Some explanation on the algorithm.

enter image description here

Upvotes: 3

Views: 284

Answers (1)

Tarass
Tarass

Reputation: 131

Found the bug. The answer is on the same link as in the question. Thank you.

Nothing important, an obvious mismatch in indexes.

Upvotes: -2

Related Questions