Closed Vaxeral closed 1 year ago
(value + 0.5) * 255 I try this as the color and i get noticeable borders in the noise image. What is the range of the function open_simplex_noise2 and how can i correct my code to get it in the range of 0 to 255
(value + 0.5) * 255
Oh nevermind its (value + 1.0) / 2.0
(value + 1.0) / 2.0
(value + 0.5) * 255
I try this as the color and i get noticeable borders in the noise image. What is the range of the function open_simplex_noise2 and how can i correct my code to get it in the range of 0 to 255