Difference between revisions of "PerlinNoise"

From Minetest Developer Wiki
Jump to navigation Jump to search
m (add a link to an example)
(add "see also")
Line 7: Line 7:
 
== Examples ==
 
== Examples ==
 
[[Voxel_Manipulator#Example]]
 
[[Voxel_Manipulator#Example]]
 +
 +
== See also ==
 +
[[PerlinNoiseMap]]
  
 
[[Category:Objects]]
 
[[Category:Objects]]

Revision as of 20:37, 6 June 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