Difference between revisions of "PerlinNoise"
Jump to navigation
Jump to search
Hybrid Dog (talk | contribs) (→External Links: fix broken link) |
Hybrid Dog (talk | contribs) |
||
Line 8: | Line 8: | ||
<br/> | <br/> | ||
− | == Examples == | + | == Examples ==TODO |
− | |||
<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 atpos={x=,y=}
get3d(pos)
— 3d noise value atpos={x=,y=,z=}
== Examples ==TODO
See also
External Links
- Minetest forum thread: "minetest.get_perlin() and minetest.get_perlin_map() Return nil"
- Explanation of perlin noise
- Explanation of perlin noise and simplex noise
- Perlin noise values exceed [-1; 1]
- Faster mapgen noises