Vectorized port of Processing noise() function
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pnoise-0.2.0.tar.gz
(12.8 kB
view details)
Built Distribution
pnoise-0.2.0-py3-none-any.whl
(13.3 kB
view details)
File details
Details for the file pnoise-0.2.0.tar.gz
.
File metadata
- Download URL: pnoise-0.2.0.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76383310d602bcc7ed2355cd334f8ebc5b88e71d5bfdfee32d1b93d3981972cf |
|
MD5 | 903c31eb8d60adebd9cdbd631a39cddd |
|
BLAKE2b-256 | 19852f7764b1e453e2178d742441f9f4733e521c370475c21bce086dd69218c1 |
File details
Details for the file pnoise-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: pnoise-0.2.0-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 953afe8710033b5a0fc5578ba67c2e6cee8e9669b4dffe7680b641acc46f87a3 |
|
MD5 | 65e3ca08d4a1ed068d8e385e214af224 |
|
BLAKE2b-256 | 5156ef362cbde8f74326c9231579d14823193e22d343a2b046ac36f37d07e29b |