Difference between revisions of "PerlinNoise"
Jump to navigation
Jump to search
m (→Examples: Formatting and object API name change) |
m (Link to Mapgen category) |
||
Line 9: | Line 9: | ||
== See also == | == See also == | ||
− | [[PerlinNoiseMap]] | + | * [[PerlinNoiseMap]] |
+ | * [[:Category:Mapgen]] | ||
== External Links == | == External Links == |
Revision as of 23:32, 6 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 atpos={x=,y=}
get3d(pos)
— 3d noise value atpos={x=,y=,z=}
Examples
See also
External Links
Minetest forum thread: "minetest.get_perlin() and minetest.get_perlin_map() Return nil"