LED information board by zetamatta

M={}
S=(" "):rep(79)for L in io.lines()do M[#M+1]=S..L end
for i=1,M[1]:len()do
for j=1,#M do
s=(M[j]..S):sub(i,i+79)print(j==4 and s:sub(51,51)=="#"and s:sub(1,50).."*"..s:sub(52)or s)end
print""end

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page