Perlin Noise Grid by antonpantev - 6

Procedural

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

Unity 2018.3.0f2MIT LicenseUpdated 128 days agoCreated on January 10th, 2019
Go to source

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]);
    }
}
Show all projects by antonpantev