It produces something like this:
0210112122202112201220102022020
0200112111121012022220100120220
0001111210000000012012002101122
1121122002222211022110010001220
0121221220000211020200002211202
1021210101020210112212102210200
0101110101110020021211010000201
2222020200122222100100221002021
1022002102002200111000001201100
0120120201101201001210212210010
1120120100110211222012221012212
1021212011211210222212102120200
1121012212210211220021020222211
2220110010121202012102210021120
0122021201200221220120212210211
2221211111102220000211111101000
1102100102012001002201201020012
2011022100210120201012122112000
1100002021022001102100100121011
2202010210100002101101120101021
0100121000120001102112212012011
2122100102101221201211202012012
2211201222221112200220210220021
1020221002212210000012202020000
1202222121101022022111212111212
2202100210100112102021212101021
0201100222202021102222001001012
2001222122110021100000220011011
0011210220120122222222101111222
2002012212000020121011110112202
2020020212001200110200010112102
(remember, there are only 3 possible symbols and human brain is trying to see patterns everywhere)
For those interested, the code I used is following:
-- let's test some different functions
local MinX = -15
local MaxX = 15
local MinY = -15
local MaxY = 15
local N = 3
local f=function(x,y)
local rem = math.fmod(math.floor( 100*math.sin(997*x^3+993*y^5)) ,N)
return rem>=0 and rem or N+rem
end
local line = ""
for y = MinY, MaxY do
line = ""
for x = MinX, MaxX do
line = line .. math.abs(f(x,y))
end
print(line)
end
You can test it or amend the function online here:
http://www.lua.org/cgi-bin/demo