/PerlinNoise

Header-only Perlin noise library for modern C++ (C++17/C++20)

Primary LanguageC++MIT LicenseMIT

siv::PerlinNoise

siv::PerlinNoise is a header-only Perlin noise library for modern C++.
Based on Ken Perlin's Improved Noise.

Features

  • random seed
  • 1D / 2D / 3D noise
  • octave noise (accumulated / normalized)
  • [0.0, 1.0] noise

License

siv::PerlinNoise is distributed under the MIT license.

Example

Run example.cpp with the following parameters.

frequency = 8.0
octaves = 8
seed = 12345

noise