fractal_noise: Generate fractal noise

View source: R/main.R

fractal_noiseR Documentation

Generate fractal noise

Description

Generates 2D fractal noise by layering Perlin noise at different levels.

Usage

fractal_noise(out_rows = 128, out_cols = 128, a = 0.6, n_levels = 7)

Arguments

out_rows, out_cols

rows and columnds in output matrix.

a

scale parameter. Values near zero place more weight on large features, a value of 1 places equal weight on all levels, and values > 1 place more weight on small features.

n_levels

number of levels of Perlin noise to layer.


bobverity/bobfunctions2 documentation built on July 4, 2023, 8:55 p.m.