Isotope.Options (Isotope v0.1.2-rc) View Source

Options available when initializing the noise.

Link to this section Summary

Types

Available types of interpolation.

Noise types available.

t()

Link to this section Types

Specs

interpolation() :: :linear | :quintic | :hermite

Available types of interpolation.

Specs

noise() ::
  :perlin
  | :simplex
  | :white
  | :cubic
  | :value
  | :cellular
  | :simplex_fractal
  | :perlin_fractal
  | :cubic_fractal
  | :value_fractal

Noise types available.

:simplex and :simplex_fractal are actually OpenSimplex2.

Specs

t() :: %Isotope.Options{
  cellular_options: Isotope.Options.Cellular.t(),
  fractal_options: Isotope.Options.Fractal.t(),
  frequency: float(),
  interpolation: interpolation(),
  noise_type: noise(),
  seed: non_neg_integer()
}