diff --git a/src/experimental/demo/voronoi_lines_demo.scad b/src/experimental/demo/voronoi_lines_demo.scad deleted file mode 100644 index 0ffff9b7..00000000 --- a/src/experimental/demo/voronoi_lines_demo.scad +++ /dev/null @@ -1,30 +0,0 @@ -use ; -use ; -use ; - -pt_nums = 50; -width = 1; -points = [for(i = [0:pt_nums - 1]) rands(-50, 50, 2)]; - -hull_pts = convex_hull2(points); -hull_polyline2d( - concat(hull_pts, [hull_pts[0]]), - width = width, $fn = 4 -); - -intersection() { - for(line = voronoi_lines(points)) { - hull_polyline2d( - line, - width = width, - $fn = 4 - ); - } - - polygon(hull_pts); -} - -#for(p = points) { - translate(p) - circle(.5); -} \ No newline at end of file