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.

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


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

fractal_noise-1.0.1-py3-none-any.whl (5.7 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