Divide a Square into Segments by Clustering

Divide a square into n segments by clustering uniformly distributed random points.

    
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=
Translate this page: