Difference between revisions of "PerlinNoise"
Jump to navigation
Jump to search
(Created page with "A [http://en.wikipedia.org/wiki/Perlin_noise perlin noise] generator. Can be created either via <source enclose="none">PerlinNoise(seed, octaves, persistence, scale)</source> ...") |
|||
Line 1: | Line 1: | ||
− | A [http://en.wikipedia.org/wiki/Perlin_noise perlin noise] generator. Can be created either via <source enclose="none">PerlinNoise(seed, octaves, persistence, scale)</source> or <source enclose="none">minetest. | + | A [http://en.wikipedia.org/wiki/Perlin_noise perlin noise] generator. Can be created either via <source enclose="none">PerlinNoise(seed, octaves, persistence, scale)</source> or <source enclose="none">minetest.get_perlin(seeddiff, octaves, persistence, scale)</source>. |
== Methods == | == Methods == |
Revision as of 12:25, 11 September 2013
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 atpos={x=,y=}
get3d(pos)
— 3d noise value atpos={x=,y=,z=}
This article is missing examples. Feel free to add them. |