Difference between revisions of "PerlinNoise"

From Minetest Developer Wiki
Jump to navigation Jump to search
(add "see also")
(Added forum reference)
Line 10: Line 10:
 
== See also ==
 
== See also ==
 
[[PerlinNoiseMap]]
 
[[PerlinNoiseMap]]
 +
 +
== External Links ==
 +
[https://forum.minetest.net/viewtopic.php?f=6&t=8157 Minetest forum thread: "minetest.get_perlin() and minetest.get_perlin_map() Return nil"]
  
 
[[Category:Objects]]
 
[[Category:Objects]]

Revision as of 22:08, 5 July 2014

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

Methods

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

Examples

Voxel_Manipulator#Example

See also

PerlinNoiseMap

External Links

Minetest forum thread: "minetest.get_perlin() and minetest.get_perlin_map() Return nil"