fromPerlinNoise

fun fromPerlinNoise(width: Int, height: Int, offsetX: Int = 0, offsetY: Int = 0, scale: Float = 1.0f): Image

Creates an image filled with Perlin noise.

Return

An Image object representing the created Perlin noise image.

Parameters

width

The width of the image.

height

The height of the image.

offsetX

The X offset for the noise.

offsetY

The Y offset for the noise.

scale

The scale of the noise.