Voronoi boundary attractor

I was trying to create Voronoi pattern over a surface with its boundary as the attractor. When looking through the different posts on the forum, I was able to create the attached code.

I am facing the following issues;

I am trying to cull the points close to the boundary based on a distance value and the Voronoi pattern is as follows,

However, there are still a few open curves that remain attached to the boundary as their centres are further away from distance value. If I increase the distance value they do go away but also the ones that should be, also vanish. Is there a way to remove the curves in contact with the boundary or at a particular controlled distance from the boundary, because the points are random and I cannot seem to get a clean solution.

Thank you so much for your help :slight_smile:

Voro Question.gh (141.0 KB)

1 Like

You could try with Collision One/Many.


Voro Question_re.gh (139 KB)

1 Like

As always, this works perfectly :slight_smile:

Thank you for your help and time