Anonymous user
Hilbert curve: Difference between revisions
m
→{{header|Lua}}
m (→{{header|Lua}}) |
|||
Line 420:
-- Or's characters for ASCII line drawing
function charor(c1, c2)
local bits={ [" "]=
local char={" ", " ", " ", "┌", " ", "│", "└", "├", " ", "┐", "─", "┬", "┘", "┤", "┴", "┼",}
local b1,b2=bits[c1] or 0,bits[c2] or 0
|