import hull_pi;
import stats;
size(10cm);
pair[] cloud;
int nbpt=200;
// Generate random points.
for (int i=0; i < nbpt; ++i)
cloud.push((10*unitrand(),10*unitrand()));
// Nodes of the hull (here convex hull);
/**/
pair[] hull=hull(cloud);
/**/
filldraw(polygon(hull),lightgrey);
dot(cloud,red);