Registry / analytics / noise
library1.2.2pypypi✓ verified 83d ago

Perlin noise implementation for Python, widely used for procedural generation in games, simulations, and data visualization. Current version 1.2.2 has been stable with no new releases since 2015; the project is in maintenance mode.

pip install noise
INSTALL
IMPORT
SIG · NOISE
N
noise
analyticspythonv1.2.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

pnoise2
from noise import pnoise2
import noise; noise.pnoise2(...)
pnoise2 is a function, not a method; importing directly is more explicit.
pnoise3
from noise import pnoise3
PerlinNoise
from noise import PerlinNoise

Basic usage: generate a single Perlin noise value with pnoise2.

from noise import pnoise2 # Generate 2D Perlin noise value at (0.5, 0.5) with octaves=6 value = pnoise2(0.5, 0.5, octaves=6) print(value)
Debug
Known issues
breakingPython 2 only: the noise library on PyPI is Python 2 only. Install 'noise' on Python 3 may fail or produce incorrect results.
fix
Use the fork 'noise' (pip install noise) which supports Python 3, or use 'perlin-noise' package.
affects: 1.2.2
deprecatedProject unmaintained since 2015. No new features or bug fixes.
fix
Consider alternatives like 'noise' (fork), 'perlin-noise', or 'numpy' based implementations.
affects: all
gotchapnoise2 and pnoise3 return values in range approximately [-1, 1], but not clamped exactly. Use clamping if you need strict [0,1].
fix
Normalize: (value + 1) / 2.0
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'noise'
Python 3 environment - the original noise package is Python 2 only.
fix
Install the Python 3 compatible fork: pip install noise
ImportError: No module named noise
Package not installed or installed in wrong environment.
fix
Verify installation with: pip list | grep noise
TypeError: pnoise2() got an unexpected keyword argument 'octaves'
Using an older version of noise (pre-1.1.0) that does not support octaves parameter.
fix
Upgrade to latest version: pip install --upgrade noise
Upgrade
Version history
1.2.2latest on PyPI · released Mar 29, 2015
Audit
Dependencies

No dependency data recorded yet.

Agent activity
39 hits · last 30 days
node
32
Amazon
1
OpenAI (training)
1
Resources
noise — pip install noise · libregistry