summaryrefslogtreecommitdiff
path: root/server/noise.lua
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-06-18 22:28:37 +0100
committerubq323 <ubq323@ubq323.website>2023-06-18 22:28:37 +0100
commitf55c9f415a081a175e48b51db894f23e59ce47a2 (patch)
treeee63f98d5c4f1a2a11e9800ced9c2861eb3085a7 /server/noise.lua
parent598bd4332deddd5f4c506689cbd136f495835ea7 (diff)
fix line lengths
Diffstat (limited to 'server/noise.lua')
-rw-r--r--server/noise.lua16
1 files changed, 0 insertions, 16 deletions
diff --git a/server/noise.lua b/server/noise.lua
index c0ca57c..6fd745f 100644
--- a/server/noise.lua
+++ b/server/noise.lua
@@ -79,20 +79,4 @@ function NoiseAgg.at(self,x,y)
return t/n
end
--- local chars = "$@B%8&WM#*oahkbdpqwmZO0QLCJUYXzcvunxrjft/\\|()1{}[]?-_+~<>i!lI;:,\"^`'. "
-
--- local scale = 3
-
--- for x=1,10-10/40,10/40 do
--- for y = 1,10-10/60,10/60 do
-
--- local n = at(1+(x-1)/scale,1+(y-1)/scale)
--- local nn = (n +1)/2
--- local nnn = 1+nn*#chars
--- local c = chars:sub(nnn,nnn)
--- io.write(c)
--- end
--- io.write("\n")
--- end
-
return {PerlinNoise=PerlinNoise,NoiseAgg=NoiseAgg}