The perlin noise function in Bonsai is very fast. In fact, at the time of this writing, it is the fastest open-source implementation in the world.
- Install MSYS
- From the
MSYS MINGW64shell, runpacman -S mingw-w64-x86_64-cmake clang
./make.sh should now build FastNoise2 and the bonsai test bench.
The executable will be in the bin directory.
On my laptop :
$ ./bin/bonsai_main.exe
Info - Initializing Bonsai
Bonsai Cycles/Cell Avg(6.77) Best(6.22) Worst(8.01)
FastNoise Cycles/Cell Avg(10.40) Best(9.77) Worst(11.20)
- utility for recording performance over time