From 84c83769db301394d20ece08bf204da4c0811f34 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Sun, 11 Sep 2022 15:56:17 +0800 Subject: [PATCH] rename --- examples/voronoi/ripples.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/voronoi/ripples.scad b/examples/voronoi/ripples.scad index be90cfbf..5910c421 100644 --- a/examples/voronoi/ripples.scad +++ b/examples/voronoi/ripples.scad @@ -6,7 +6,7 @@ size = [30, 30]; grid_w = 15; amplitude = 1; mesh_w = 0.2; -wave_smoothness = 2; +wave_smoothing = 2; thickness = 0.5; dist = "euclidean"; // [euclidean, manhattan, chebyshev, border] seed = 51; @@ -24,7 +24,7 @@ module ripples() { px = x * mesh_w, py = y * mesh_w, nz = nz_worley2(px, py, seed, grid_w, dist)[2], - n = amplitude * nz_perlin2(nz / wave_smoothness, nz / wave_smoothness, seed) + n = amplitude * nz_perlin2(nz / wave_smoothing, nz / wave_smoothing, seed) ) [px, py, n] ]