Difference between revisions of "PerlinNoise"

From Minetest Developer Wiki
Jump to navigation Jump to search
(→‎External Links: fix broken link)
Line 8: Line 8:
 
<br/>
 
<br/>
  
== Examples ==
+
== Examples ==TODO
See [[VoxelManip#Example|VoxelManip example]]
 
 
<br/>
 
<br/>
  

Revision as of 10:50, 8 March 2017

A perlin noise generator. Can be created either via PerlinNoise(seed, octaves, persistence, scale) or minetest.get_perlin(seeddiff, octaves, persistence, scale). Note that PerlinNoiseMap works faster.

Methods

  • get2d(pos) — 2d noise value at pos={x=,y=}
  • get3d(pos) — 3d noise value at pos={x=,y=,z=}


== Examples ==TODO

See also


External Links