Home

Awesome

GitHub Actions CI Discord MIT License

FastNoise2

WIP successor to FastNoiseSIMD

Modular node based noise generation library using SIMD, modern C++17 and templates

FastNoise2 is a fully featured noise generation library which aims to meet all your coherent noise needs while being extremely fast

Uses FastSIMD to compile classes with multiple SIMD types and selects the fastest supported SIMD level at runtime

Supports:

Bindings:

Roadmap:

Noise Tool

The FastNoise2 noise tool provides a node graph editor to create trees of FastNoise2 nodes. Node trees can be exported as serialised strings and loaded into the FastNoise2 library in your own code. The noise tool has 2D and 3D previews for the node graph output, see screenshots below for examples.

Check the Releases for compiled NoiseTool binaries

NoiseTool

Performance

FastNoise2 has continuous benchmarking to track of performance for each node type across commits

Results can be found here: https://auburn.github.io/fastnoise2benchmarking/

Library Comparisons

Benchmarked using 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
FastNoise2 (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
FastNoise2 (AVX2)776.33624.27466.03194.30

Getting Started

See documentation