Home

Awesome

FastNoise Lite for Beef

A port of the FastNoise Lite noise generation library for the Beef programming language.

Features

Getting started

Here's an example for creating a 128x128 array of OpenSimplex2 noise

// Create and configure FastNoise object
let noise = scope FastNoiseLite();
noise.SetNoiseType(.OpenSimplex2);

// Gather noise data
float[] noiseData = new float[128 * 128];
int index = 0;

for (int y = 0; y < 128; y++)
{
    for (int x = 0; x < 128; x++)
    {
        noiseData[index++] = noise.GetNoise(x, y);
    }
}

// Do something with this data...

delete noiseData;

Documentation

See the original README and Wiki for more info on how to use it (note that the wiki is written for c++).