Skip to main content

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


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

Uploaded Source

Built Distribution

fractal_noise-2.0.3-py3-none-any.whl (3.1 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