mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-27 00:17:27 +02:00
use rands_sphere
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
use <voronoi/vrn_sphere.scad>;
|
use <voronoi/vrn_sphere.scad>;
|
||||||
use <polyline_join.scad>;
|
use <polyline_join.scad>;
|
||||||
use <experimental/rand_pts_sphere.scad>;
|
use <util/rands_sphere.scad>;
|
||||||
use <experimental/r_union3.scad>;
|
use <experimental/r_union3.scad>;
|
||||||
|
|
||||||
eyelets = 800;
|
eyelets = 800;
|
||||||
@@ -9,7 +9,7 @@ radius = 50;
|
|||||||
voronoi_melon(eyelets, radius);
|
voronoi_melon(eyelets, radius);
|
||||||
|
|
||||||
module voronoi_melon(eyelets, radius) {
|
module voronoi_melon(eyelets, radius) {
|
||||||
pts = rand_pts_sphere(radius, eyelets);
|
pts = rands_sphere(radius, eyelets);
|
||||||
cells = vrn_sphere(pts);
|
cells = vrn_sphere(pts);
|
||||||
|
|
||||||
color("DarkKhaki")
|
color("DarkKhaki")
|
||||||
|
Reference in New Issue
Block a user