From afda96a873d85631427430315f0c1bb08c076c6f Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Tue, 13 Jun 2023 10:17:30 +0200 Subject: [PATCH] Better norm factor for Perlin --- priorConditionedAnnealing/noise.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/priorConditionedAnnealing/noise.py b/priorConditionedAnnealing/noise.py index e6db249..d0d8a09 100644 --- a/priorConditionedAnnealing/noise.py +++ b/priorConditionedAnnealing/noise.py @@ -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):