/noisy

:cyclone: Generate fractal noise from the command line

Primary LanguageCMIT LicenseMIT

noisy

Generate fractal noise from from the command line. Great for rendering smoke, fluids, and terrain. Simply install noisy with NPM and run a command to produce a png image. In the case of 3 dimensions, noisy will generate a series pngs over a range of z values.

Features

  • Supports Perlin and Worley noise
  • Can generate 2D and 3D noise
  • Seamless tiling in all dimensions
  • Easy to use

Noise Types

worley_pillows

screenshot

worley_ridged_pillows

screenshot

worley_caustics

screenshot

worley_gems

screenshot

worley_dots

screenshot

perlin_fbm

screenshot

perlin_ridge

screenshot

perlin_turbulence

screenshot

Installation

npm install -g noisy

Recipes

Generate 2D perlin noise

noisy -t perlin_fbm -l medium -d 2

Generate 2D worley noise

noisy -t worley_pillows -l medium -d 2

Generate 3D worley noise

noisy -t worley_gems -l medium -d 3 -s 32

Argument Reference

long short type description default
-—noise_type -t string see "Noise Types" above perlin_fbm
-—detail_level -l string amount of detail (low, medium, high, veryhigh) medium
-—dimensions -d integer 2 or 3 (3D for image_size <= 128) 2
-—image_size -s integer powers of two between 32 - 2048 (inclusive) 256
-—min_points_per_cell -n integer 0 - 10 (worley noise only) 1
-—max_points_per_cell -x integer 0 - 10 (worley noise only) 4