1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-07-30 19:40:24 +02:00

use param

This commit is contained in:
Justin Lin
2022-05-06 14:55:45 +08:00
parent c142e8b6e8
commit 8c483f6c8b

View File

@@ -22,7 +22,7 @@ module ripple_sphere(radius, detail, amplitude, dist = "border", grid_w, seed) {
f1 = 2;
f2 = amplitude / 75;
noises = [
for(p = points / 2)
for(p = points / f1)
let(
pnz = (p + p * nz_worley3(p.x * f1, p.y * f1, p.z * f1, seed, grid_w, dist)[3] * f2)
)