Difference between revisions of "PerlinNoise"
Jump to navigation
Jump to search
Hybrid Dog (talk | contribs) m (add a link to an example) |
|||
Line 5: | Line 5: | ||
* <source enclose="none">get3d(pos)</source> — 3d noise value at <source enclose="none">pos={x=,y=,z=}</source> | * <source enclose="none">get3d(pos)</source> — 3d noise value at <source enclose="none">pos={x=,y=,z=}</source> | ||
− | + | == Examples == | |
+ | [[Voxel_Manipulator#Example]] | ||
[[Category:Objects]] | [[Category:Objects]] |
Revision as of 18:14, 6 May 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=}