raiseToPower(_:)
Replaces all values in the noise field by raising each value to the specified power.
Declaration
func raiseToPower(_ power: Double)Parameters
- power:
The exponent to raise each noise value to.
Discussion
Noise values range from -1.0 to 1.0, so exponentiating always results in lower values than in the original noise, with a greater effect on low original values than on high values.
[Image]