diff --git a/docs/images/lib3x-vrn2_cells_from-1.JPG b/docs/images/lib3x-vrn2_cells_from-1.JPG index d37bdc09..dbc5b29e 100644 Binary files a/docs/images/lib3x-vrn2_cells_from-1.JPG and b/docs/images/lib3x-vrn2_cells_from-1.JPG differ diff --git a/docs/lib3x-vrn2_cells_from.md b/docs/lib3x-vrn2_cells_from.md index 9f25a66f..797eb3ac 100644 --- a/docs/lib3x-vrn2_cells_from.md +++ b/docs/lib3x-vrn2_cells_from.md @@ -13,9 +13,7 @@ Create cell shapes of Voronoi from a list of points. use ; use ; - xs1 = rands(-20, 20, 15); - ys1 = rands(-20, 20, 15); - points = [for(i = [0:len(xs1) - 1]) [xs1[i], ys1[i]]]; + points = [for(i = [0:50]) rands(-100, 100, 2)]; cells = vrn2_cells_from(points); for(i = [0:len(points) - 1]) {