Voronoi diagram

hi there,
i am trying to make a 2D voronoi pattern in TD, I’ve read lots of reference which using algorithm or some mathematics-based tutorials but still confused about building voronoi.
(This is the one of the explanations that I refer to:

Based on what I know about TD, and I’ve list some steps that about my personal conclusion/observation:

Here’s the step:

  1. separate some random points in each region
  2. give each points a force field
  3. make the force field edge as convex polygon
  4. then i am not sure…

I made a simulation the effect I want with Grasshopper below:

Any kind of help would be greatly appreciated.Thank you so much.