this mod adds turtle graphics to minetest. it allows you to spawn generated structures using
luavoxemanipulators. it includes a tool with a simple forth like language for experimenting, but
it is also possible to generate structures in lua. here are some pictures of what it can do:



https://github.com/obneq/turtle
to get the tool use /giveme turtle:tool
right click spawns, left click lets you edit programs, materials and find help.
the forth prompt uses a simple forth like language. here is a sample program to make a
circle:
: c 90 0 do [ U G G G G G G G G G D G ] 4 A Z R loop ; c
this program defines the word 'c' in the part between ':' and ';' and then calls 'c'. the capital letters and '[...]' are the primitives of the turtle systems, things like ':' and 'do...loop' are primitives of forth.
the part between the brackets lifts up the pen, moves forward, lowers pen and thus places one node. this is done 90 times while rotating the turtle around its Z axis. remember it is facing up initially.
you can then use the new word 'c' in other words. here is the spiral example:
: s 90 0 do [ c ] 5 A X R G loop ; s
idk if it is ok like this or if it would be less confusing to use pitch, yaw and roll for the turtle. pls try and give feedback.
if you like to generate turtle programs in lua remember they consist of both the program and a list of materials in one table. the program is just one long string consisting of turtle primitives.
i hope to integrate this into mapgen somehow, to allow for generated decorations in biomes,
dungeons and the like.
this will only work with a git build of minetest. license of code is WTFPL