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:
from fractal_noise import fractal_noise
import matplotlib.pyplot as plt
# Specify fractal noise factors and parameters
width, height = 512, 512
scale = 0.1
octaves = [0, 1, 2, 3, 4, 5]
# Generate fractal noise
noise = 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 Distribution
fractal_noise-0.0.2.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for fractal_noise-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19e4b88c53ac89d53d84d2a74a20f991034da03f6aa337b7dac2f6834ca3cbfb |
|
MD5 | ff5639507456de0f084e01328e30966f |
|
BLAKE2b-256 | bd8c1f1e5093b5045286a3fc53c5df7e6d2140063993e308a2cec858168cb5c8 |