fromWhiteNoise

fun fromWhiteNoise(width: Int, height: Int, factor: Float = 0.5f): Image

Creates an image filled with white noise.

Return

An Image object representing the created white noise image.

Parameters

width

The width of the image.

height

The height of the image.

factor

The noise factor (0.0 to 1.0).