diff options
Diffstat (limited to 'server/noise.lua')
-rw-r--r-- | server/noise.lua | 16 |
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} |