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.
Examples
from fractal_noise import get_fractal_noise
import matplotlib.pyplot as plt
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 Distribution
fractal_noise-2.0.2.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for fractal_noise-2.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a494d5627fee1e01dccbb87b8a58dcc436c9e8888e799e55fd041c1743cc69a |
|
MD5 | 2d747039812aedcc358a3ed9171e4753 |
|
BLAKE2b-256 | 17e4defc138391558b9893f9ee486951495e8a54e64cdb0c612f5ae2a0872a2e |