1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-16 11:44:50 +02:00
This commit is contained in:
Justin Lin
2019-06-02 09:54:09 +08:00
parent b9518ad8ed
commit 68f2539726

View File

@@ -1,6 +1,6 @@
# voronoi # voronoi
Creats a three version of [Voronoi diagram](https://en.wikipedia.org/wiki/Voronoi_diagram). The initial space for each cell is calculated automatically from the given points by the following code: Creats a 3D version of [Voronoi diagram](https://en.wikipedia.org/wiki/Voronoi_diagram). The initial space for each cell is calculated automatically from the given points by the following code:
xs = [for(p = points) p[0]]; xs = [for(p = points) p[0]];
ys = [for(p = points) abs(p[1])]; ys = [for(p = points) abs(p[1])];