Skip to main content

pnoise

pnoise is a pure-Python, Numpy-based, vectorized port of Processing's noise() function. The p in pnoise stands for Processing, Perlin, Python, "port", and probably other things I haven't though of yet.

Why?

I wrote this port before switching to vnoise and, although I'm no longer using it, I figured I would keep it around.

How does it compare to vnoise?

pnoise vnoise
Algorithm "classic Perlin noise of 1983" "Perlin improved noise"
License LGPL v2.1 MIT
Scalar API ✅ ✅
Vectorized API ✅ ✅
3D function ✅ ✅
2D function ❌ (can be derived from 3D but slower) ✅
1D function ❌ (can be derived from 3D but slower) ✅

See a performance comparison here.

Installation

pip install pnoise

License

LGPL 2.1, see LICENSE file.

Metadata

Release files for pnoise 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pnoise 0.2.0
File Size Uploaded
pnoise-0.2.0.tar.gz 12.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pnoise 0.2.0
File Interpreter ABI Platform
pnoise-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 26.1 kB

Release files / pnoise-0.2.0.tar.gz

Download URL pnoise-0.2.0.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
76383310d602bcc7ed2355cd334f8ebc5b88e71d5bfdfee32d1b93d3981972cf
BLAKE2b-256 checksum
How to use checksums
19852f7764b1e453e2178d742441f9f4733e521c370475c21bce086dd69218c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release files / pnoise-0.2.0-py3-none-any.whl

Download URL pnoise-0.2.0-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
953afe8710033b5a0fc5578ba67c2e6cee8e9669b4dffe7680b641acc46f87a3
BLAKE2b-256 checksum
How to use checksums
5156ef362cbde8f74326c9231579d14823193e22d343a2b046ac36f37d07e29b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page