Skip to main content

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 Processin, 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 git+https://github.com/plottertools/pnoise#egg=pnoise

License

LGPL 2.1, see LICENSE file.

Project details


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.1.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

pnoise-0.1.0-py3-none-any.whl (13.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page