mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-09 08:16:50 +02:00
update doc
This commit is contained in:
@@ -15,7 +15,7 @@ Returns the 1D [Perlin noise](https://en.wikipedia.org/wiki/Perlin_noise) value
|
|||||||
use <util/rand.scad>;
|
use <util/rand.scad>;
|
||||||
use <noise/nz_perlin1.scad>;
|
use <noise/nz_perlin1.scad>;
|
||||||
|
|
||||||
seed = rand();
|
seed = rand(0, 255);
|
||||||
polyline_join([for(x = [0:.1:10]) [x, nz_perlin1(x, seed)]])
|
polyline_join([for(x = [0:.1:10]) [x, nz_perlin1(x, seed)]])
|
||||||
circle(.05);
|
circle(.05);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user