]> marstr Code Repo - marstr/orthographic.git/commitdiff
Adjustment to Perlin amplitude values to match larger image size
authorMarcus Str. <marcus@marstr.online>
Thu, 6 Feb 2025 18:44:52 +0000 (19:44 +0100)
committerMarcus Str. <marcus@marstr.online>
Thu, 6 Feb 2025 18:44:52 +0000 (19:44 +0100)
perlin.py

index e20270c88a9b00d8e39f408714b5546df07c5c98..6b98d25900977683a84dd7eb47884810cd25b707 100644 (file)
--- a/perlin.py
+++ b/perlin.py
@@ -67,9 +67,9 @@ class mstr_perlin:
             
             for c in range(len(clr)):
                 np.random.seed(randrange(10000000, 100000000))
-                noise1 = generate_fractal_noise_2d((wh,wh), (64,64), 5)
+                noise1 = generate_fractal_noise_2d((wh,wh), (96,96), 5)
                 np.random.seed(randrange(10000000, 100000000))
-                noise2 = generate_fractal_noise_2d((wh,wh), (32,32), 4)
+                noise2 = generate_fractal_noise_2d((wh,wh), (48,48), 4)
 
                 im1 = Image.new("RGBA", (wh,wh))
                 im2 = Image.new("RGBA", (wh,wh))