Skip to main content
Stanly Hoffman
Known Participant
October 1, 2017
Question

Poisson Disk Sampling

  • October 1, 2017
  • 1 reply
  • 850 views

Is there any Poisson Disk Sampling AI script ?

pixelpie-overview.png

Just found two scripts for HTML and I hope someone could adapt it for AI:

1) GitHub - jeffrey-hearn/poisson-disk-sample: A Javascript implementation of Poisson Disk Sampling with demo capabilities …

2) Code Challenge channel on youtube - Poisson Disk sampling coded from scratch with comments. But the author used "p5" javascript libraries that as I supose wont work in illustrator. The javascript is available in description.

https://www.youtube.com/watch?v=flQgnCUxHlw

3) One more great explanation of Poisson DS for GPU in real-time:

https://www.youtube.com/watch?v=G94y3YRqSHk

For input Id like to take Halftone dots that produces "Halftone" plugin from Phantasm and make them distributed by Poissin disk sampling.

I would appreciate any help on this task. Thank you.

This topic has been closed for replies.

1 reply

Stanly Hoffman
Known Participant
October 8, 2017

Well, im on my way to get this done all by myself.

First steps works great, my script can make picture (a) to (e) above right now.

It will take a time for speed optimisation and linking number of dots to density.

Stay tuned.

Participant
December 27, 2022

Hello, did you still happen to have this code? Could you please post it?