0.0.2 • Published 12 years ago
tortu v0.0.2
AJLogo LOGO for the command-line.
Installation
First you need to follow the instructions for node-canvas.
Once you have every pre-requisite for node-canvas install tortu as follows:
npm install -g tortuUsage
Create a file named test.logo:
to square :side
repeat 4 [ forward :side left 90 ]
end
to figure
repeat 36 [ square 40 left 10 ]
end
home figurethen you can run it as:
tortu test.logoAlternatively you can use shebangs:
#!/usr/bin/env tortu
to square :side
repeat 4 [ forward :side left 90 ]
end
to figure
repeat 36 [ square 40 left 10 ]
end
home figureNote
Improve rendering by using an small font in your terminal.
License
MIT