Anonymous user
Hilbert curve: Difference between revisions
→{{header|Lua}}
Line 447:
local n=arg[1] and tonumber(arg[1]) or 3
local str=arg[2] or "A"
draw(str:hilbert(n
</lang>
{{output}} luajit hilbert.lua 5
|
Line 447:
local n=arg[1] and tonumber(arg[1]) or 3
local str=arg[2] or "A"
draw(str:hilbert(n
</lang>
{{output}} luajit hilbert.lua 5
|