One-dimensional noise with spatial consistency for C++ and Python 3.
The C++ code is header-only.
This is not perlin/simplex noise. It is similar to a truncated fourier series, but with aperiodicity.
C++
Copy noise1d.hpp
to your project and do as in example.cpp
.
Python 3
Copy noise1d.py
to your project and do as in example.py
.
This code is licensed under the terms of the Unlicense.