Noisex.Utils.show_noisemap
You're seeing just the function
show_noisemap
, go back to Noisex.Utils module for more information.
Specs
show_noisemap(Noisex.Noise.noisemap()) :: :ok
Shows the given noise map on the stdout using ANSI color codes.
This won't work if your terminal doesn't support ANSI color codes.
{:ok, noise} = Noisex.Noise.new()
noise |> Noisex.Noise.noise_map({50, 50})
|> Noisex.Utils.show_noisemap()
# Outputs noise visualization
:ok