Procedural

Perlin Noise Grid

Perlin Noise Grid

A small class to create a grid of random noise at a given scale.

Add PerlinNoiseGrid.cs to your Unity project and use like so like so:

PerlinNoiseGrid noise = new PerlinNoiseGrid(width, height, perlinScale);

for (int i = 0; i < width; i++)
{
    for (int j = 0; j < height; j++)
    {
        Debug.Log(noise[i, j]);
    }
}