perlin package

perlin contains no classes.


The perlin package is marked as Compatible, which means any game can use it.

Utility functions

noise = SCUtil.PerlinNoise(x, y[, z])
This evaluates Ken Perlin's improved noise function at the given point. If z is not given, 0.5 is used. The result is between -1 and 1 inclusive, though values close to -1 or 1 are very rare.

Back to index