Artists welcome! This is a turtle graphics program that can load and save image files in the usual formats. It can make banners and such, or draw decorative patterns on top of existing pictures. While I made it for fun, it's capable enough to generate the official cover art and logo for itself.
Tipsy Turtle uses familiar turtle graphics commands, though some of them work in unusual ways. However the programming language is a Forth dialect.
The current version as of 2023-07-26 is 1.1 beta. Beware, it might eat your homework!
Tipsy Turtle is available as native executables for 32-bit and 64-bit Linux, and also as source code. On Linux, it requires the Gtk3 library to run.
This program is written in the Nim programming language, with the NiGui library. You need a Nim compiler to build it, which in turn requires a C compiler. A copy of NiGui 0.2.7 is included with the source code.
It should be possible to make a native Windows build. You're on your own there.
In a turtle graphics system, you draw not with the mouse, but by directing a virtual "turtle", that traces its path while moving, with an equally virtual pen. Directions are usually of the form: "walk forward this many steps, turn right this many degrees, repeat n times". But since our turtle is kinda tipsy, it only understands directions given backwards:
50 forward
50 forward 90 right
[ 100 fd 90 rt ] 3 times
{ [ 100 fd 90 rt ] 4 times 36 rt } 10 times
You can enter the above one by one on the command line, or all at once in the Forth console.
Speaking of which: Tipsy Turtle understands a Forth dialect named Ripen. More details about the language proper are available on its own website. For a few examples, load the files with a .rpn extension included with the program. A little documentation is also available.
(and at the Forth console)
Tipsy Turtle is open source under the MIT License (and so is NiGui). See the included file for details.
I'd love to hear from you. You can find me in the #ctrl-c IRC channel on Tilde.chat most days, or as @notimetoplay@elekk.xyz on Mastodon.