1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-17 12:10:47 +02:00

update doc

This commit is contained in:
Justin Lin
2020-02-25 09:57:23 +08:00
parent 06c7490f3a
commit afffa07f3f

View File

@@ -19,10 +19,7 @@ Creats a [Voronoi diagram](https://en.wikipedia.org/wiki/Voronoi_diagram). The i
use <voronoi2d.scad>; use <voronoi2d.scad>;
xs = rands(-20, 20, 50); points = [for(i = [0:50]) rands(-20, 20, 2)];
ys = rands(-20, 20, 50);
points = [for(i = [0:len(xs) - 1]) [xs[i], ys[i]]];
voronoi2d(points); voronoi2d(points);
translate([60, 0, 0]) translate([60, 0, 0])