noise :: PerlinNoise :: n_layers
# Desired number of `layers`
#
# This attribute must be assigned before any call to `layers` or `[]`.
#
# By default, it is the highest integer under the logarithm base 2
# of `amplitude`, or 4, whichever is the highest.
var n_layers: Int = 4.max(amplitude.abs.log_base(2.0).to_i) is lazy, writable
lib/noise/noise.nit:153,2--159,78