1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-19 04:51:26 +02:00
This commit is contained in:
Justin Lin
2020-03-09 08:35:58 +08:00
parent b12d8584b3
commit ce5179358d

View File

@@ -0,0 +1,6 @@
use <util/rand.scad>;
use <experimental/_impl/_pnoise1_impl.scad>;
function pnoise1s(xs, seed) =
let(sd = is_undef(seed) ? floor(rand(0, 256)) : seed % 256)
[for(x = xs) _pnoise1_impl(x, sd)];