perlin_noise: Generate Perlin noise

View source: R/main.R

perlin_noiseR Documentation

Generate Perlin noise

Description

Generates 2D Perlin noise of any scale, in a matrix of any size. Credit to Vincent Zoonekynd for this answer.

Usage

perlin_noise(out_rows = 128, out_cols = 128, levels_x = 10, levels_y = 10)

Arguments

out_rows, out_cols

rows and columns in output matrix.

levels_x, levels_y

bumpyness in x and y dimension.


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