simplex – Simplex noise generation¶
- bravo.simplex.octaves2(x, y, count)[source]¶
Generate fractal octaves of noise.
Summing increasingly scaled amounts of noise with itself creates fractal clouds of noise.
Parameters: Returns: Scaled fractal noise
- bravo.simplex.octaves3(x, y, z, count)[source]¶
Generate fractal octaves of noise.
Parameters: Returns: Scaled fractal noise
- bravo.simplex.offset2(x, y, xoffset, yoffset, octaves=1)[source]¶
Generate an offset noise difference field.
Parameters: Returns: Difference of noises
- bravo.simplex.simplex2(x, y)[source]¶
Generate simplex noise at the given coordinates.
This particular implementation has very high chaotic features at normal resolution; zooming in by a factor of 16x to 256x is going to yield more pleasing results for most applications.
The gradient field must be seeded prior to calling this function; call reseed() first.
Parameters: Returns: simplex noise
Raises Exception: the gradient field is not seeded
- bravo.simplex.simplex3(x, y, z)[source]¶
Generate simplex noise at the given coordinates.
This is a 3-dimensional flavor of simplex2(); all of the same caveats apply.
The gradient field must be seeded prior to calling this function; call reseed() first.
Parameters: Returns: simplex noise
Raises Exception: the gradient field is not seeded or you broke the function somehow