PerlinNoise get2d - Uberi/MineTest-API GitHub Wiki

PerlinNoise:get2d

Description

Obtain the value of the 2D Perlin noise at a given position.

Syntax

[float](../type/float.html) get2d([position](../type/position.html) pos)

Examples

local value = noise:get2d({x=0, y=0})
⚠️ **GitHub.com Fallback** ⚠️