Home

Awesome

discord

FastNoise Lite

Web Preview App

FastNoise Lite is an extremely portable open source noise generation library with a large selection of noise algorithms. This library focuses on high performance while avoiding platform/language specific features, allowing for easy ports to as many possible languages.

This project is an evolution of the original FastNoise library and shares the same goal: An easy to use library that can quickly be integrated into a project and provides performant modern noise generation. See a breakdown of changes from the transition to FastNoise Lite here

If you are looking for a more extensive noise generation library consider using FastNoise2. It provides large performance gains thanks to SIMD and uses a node graph structure to allow complex noise configurations with lots of flexibility.

Features

Supported Languages

If you want to port FastNoise Lite to a new language create a pull request or discuss it on the discord linked above

Getting Started

Documentation

FastNoise Lite Web Preview App

Link: https://auburn.github.io/FastNoiseLite

A compact testing application is available for testing all features included in FastNoise Lite with a visual representation. This can be used for development purposes, testing noise settings and generating noise textures for export.

Source code can be found in the WebPreviewApp directory.

Simplex FBm

Performance Comparisons

Benchmarked using C++ version with NoiseBenchmarking

Million points of noise generated per second (higher = better)

3DValuePerlin(*Open)SimplexCellular
FastNoise Lite64.1347.9336.83*12.49
FastNoise (Legacy)49.3437.7544.7413.27
FastNoise 2 (AVX2)494.49261.10268.4452.43
libnoise27.350.65
stb perlin34.32
2DValuePerlinSimplexCellular
FastNoise Lite114.0192.8371.3039.15
FastNoise (Legacy)102.1287.9965.2936.84
FastNoise 2 (AVX2)776.33624.27466.03194.30

Credits:

Examples

Ridged Fractal

Cellular

Cellular Fractal

Cellular Value Warped

Value Warped