verpeteren / rust-simd-noise

SIMD noise library for Rust
https://crates.io/crates/simdnoise
250 stars 20 forks source link

Scale octave noise between -1 and 1 #55

Closed awowogei closed 1 month ago

awowogei commented 1 year ago

Hello, this aims to solve #39 and #23. I put down the idea just for fbm, but I wanted to ask if maybe you wanted to do it differently.

I think this would remove the need to have different functions for scaled and unscaled noise. All noise is scaled, but the scale function(s) would only be run if the user has defined a scale, or if the noise type can be scaled to -1..1.