Skip to main content

Vectorized Perlin noise for Python

Project description

This is a fork of Casey Duncan’s noise library that vectorizes all of the noise functions using NumPy. It is much faster than the original for computing noise values at many coordinates.

Perlin noise is ubiquitous in modern CGI. Used for procedural texturing, animation, and enhancing realism, Perlin noise has been called the “salt” of procedural content. Perlin noise is a type of gradient noise, smoothly interpolating across a pseudo-random matrix of values.

The vec_noise library includes native-code implementations of Perlin “improved” noise and Perlin simplex noise. It also includes a fast implementation of Perlin noise in GLSL, for use in OpenGL shaders. The shader code and many of the included examples require Pyglet (http://www.pyglet.org), the native-code noise functions themselves do not, however.

The Perlin improved noise functions can also generate fBm (fractal Brownian motion) noise by combining multiple octaves of Perlin noise. Shader functions for convenient generation of turbulent noise are also included.

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

vec_noise_numpy2-1.1.5.tar.gz (128.9 kB view details)

Uploaded Source

File details

Details for the file vec_noise_numpy2-1.1.5.tar.gz.

File metadata

  • Download URL: vec_noise_numpy2-1.1.5.tar.gz
  • Upload date:
  • Size: 128.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for vec_noise_numpy2-1.1.5.tar.gz
Algorithm Hash digest
SHA256 3160cc6a8b55cf3adde19e8273908b58b2ec607ec29cab0599c14740a3034071
MD5 35e50c83ccb42d9b38d0b88acddffed7
BLAKE2b-256 c675808c765fb341964fde6e18c2679fe44a574960e580e742ba5e407b743c4e

See more details on using hashes here.

Supported by

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