Python implementation for Fractal Noise, ideal for creating realistic terrain, cloud-like textures, and intricate visual effects.
Project description
Fractal Noise
A Python implementation for Fractal Noise. Generates intricate fractal noise patterns to add naturalistic complexity for a wide range of creative applications. Ideal for creating realistic terrain, cloud-like texture, and visual effects.
Features
- Create complex fractal noise: Generate complex and naturalistic fractal noise patterns.
- Fine-tune control: Adjust width, height, scale, and octaves to customize the appearance of the fractal noise.
- Scalable coordinate space: Flexible and unlimited coordinate space.
Installation
Install via pip
pip install fractal-noise
Usage
Example usage:
import matplotlib.pyplot as plt
from fractal_noise import get_fractal_noise
# Specify fractal noise factors and parameters
width, height = 512, 512
scale = 0.1
octaves = [0, 1, 2, 3, 4, 5]
# Generate fractal noise
noise = get_fractal_noise(width, height, scale, octaves)
# Display
plt.imshow(noise, cmap="gray")
plt.show()
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for fractal_noise-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd0794b59a2051a38fe9e1f261295fe6c261d5bbbb7914c3b5ea5043e23b8117 |
|
MD5 | 11a7fe963ba666ec27d4b0f4ab1d2260 |
|
BLAKE2b-256 | 5d3dcacacdb495b779676813c2c4d6e26d5e95228301e2d75b0c5e5aecfdd4b0 |