OpenSimplex is a noise generation function like Perlin or Simplex noise, but better. Current version 0.4.5.1. Released sparingly, with minor fixes.
pip install opensimplexVerified import paths — ran on the pinned version, not inferred.
Generate 2D noise and display with matplotlib.
Use `from opensimplex import OpenSimplex` and create an instance: `gen = OpenSimplex(seed=...)` then call `gen.noise2d(x, y)`.
Replace `opensimplex.noise2d(x, y)` with `OpenSimplex(seed).noise2d(x, y)`.
Always pass an integer seed: `OpenSimplex(seed=42)`.
If you need a [0,1] range, apply: `value = (noise + 1) / 2`.
Use class-based API: `from opensimplex import OpenSimplex; gen = OpenSimplex(seed=0); gen.noise2d(x, y)`.
Do not reuse the name `opensimplex` as a variable. Use a different name for the instance.
Ensure seed is an integer: `OpenSimplex(seed=int(seed_value))`.
No dependency data recorded yet.