This SuperCollider Quark provides a set of helpers to generate Simplex Noise in 2D, 3D and 4D space.
The Simplex.noise2
, .noise3
and .noise4
functions are based on
the example Java code (in the public domain) by Stefan Gustavson,
with optimizations by Peter Eastman. You can read
the paper
or see the original code.
Besides the underlying Simplex implementation, there are extra
helpers (Simplex.fBm2
, .fBm3
and .fBm4
) for
fractal/fractional Brownian motion
(i.e. summed octaves of noise) in 2D through 4D, as well as
1D periodic noise (Simplex.periodic
).
To install SimplexNoise as a Quark in SuperCollider, run the following line:
Quarks.install("https://github.com/totalgee/SimplexNoise-SC");