Two dimensional love.math.noise with big values
Posted: Thu May 28, 2020 8:01 pm
Hi,
I started playing with noise - mainly 2D. From what I read for generating 2D noise LOVE uses simplex noise algorithm. Playing with different values I noticed that for values of (x, y) which are close to 0 or are very big or very small love.math.noise() returns .5. By very big and small I mean above 10000000 / below -10000000 and close to zero [- .000000001, .000000001].
I would say that the function looses its usefulness for those numbers and the wiki does not mention that the values of (x, y) are restricted.
Could someone please explain what is going on here? Is it the property of the algorithm or its implementation?
Any solution how to manage this if I want to generate noise form unknown values of (x, y)?
I started playing with noise - mainly 2D. From what I read for generating 2D noise LOVE uses simplex noise algorithm. Playing with different values I noticed that for values of (x, y) which are close to 0 or are very big or very small love.math.noise() returns .5. By very big and small I mean above 10000000 / below -10000000 and close to zero [- .000000001, .000000001].
I would say that the function looses its usefulness for those numbers and the wiki does not mention that the values of (x, y) are restricted.
Could someone please explain what is going on here? Is it the property of the algorithm or its implementation?
Any solution how to manage this if I want to generate noise form unknown values of (x, y)?