1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-11 17:24:20 +02:00

update top

This commit is contained in:
Justin Lin
2022-02-03 14:23:31 +08:00
parent b8d61e7578
commit 0835f77aaa

View File

@@ -26,7 +26,8 @@ module crystal_cluster(base_r, crystals) {
concat(
[for(p = bottom_shape) [p.x, p.y, 0]],
[for(p = neck_shape) [p.x, p.y, rand(h * 0.7, h * 0.75)]],
[[rand(0, r * 0.1), rand(0, r * 0.1), rand(h * 0.95, h * 1.05)]]
[[rand(0, r * 0.1), rand(0, r * 0.1), rand(h * 0.95, h * 1.05)]],
[for(i = [0:2]) if(rand(0, 1) > 0.5) [rand(0, r * 0.15), rand(0, r * 0.15), rand(h * 0.95, h * 1.05)]]
)
);
}