Better norm factor for Perlin
This commit is contained in:
parent
47815f8a5f
commit
afda96a873
@ -96,7 +96,7 @@ class Perlin_Noise():
|
||||
self.octaves = octaves
|
||||
self.magic = 3.141592653589 # Axis offset, should be (kinda) irrational
|
||||
# We want to genrate samples, that approx ~N(0,1)
|
||||
self.normal_factor = 0.0471
|
||||
self.normal_factor = 14/99
|
||||
self.reset()
|
||||
|
||||
def __call__(self, shape):
|
||||
|
Loading…
Reference in New Issue
Block a user