KdotJPG / OpenSimplex2

Successors to OpenSimplex Noise, plus updated OpenSimplex.
Creative Commons Zero v1.0 Universal
566 stars 53 forks source link

Scaling factors #18

Closed mfiano closed 2 years ago

mfiano commented 2 years ago

Could you enlighten us on the method you use to calculate the scaling factors of your noise algorithms? Some example code would be much appreciated. Thank you.

KdotJPG commented 2 years ago

Hmm, do you mean the output scaling factors that get applied to the gradient tables to make the range -1 to 1? I wrote an article on it here: https://noiseposti.ng/posts/2021-03-22-Normalizing-Gradient-Noise.html

mfiano commented 2 years ago

Thanks!