PicoTurtle

A small turtle-graphics runtime for Lua, powered by Raylib.

Get started

Write a Lua script in your editor, then run it with picoturtle.

local picoturtle = require "picoturtle"
local t = picoturtle.new()

for side = 1, 6 do
  t:forward(120)
  t:right(60)
end

Build and run PicoTurtle

New to turtle graphics? Start here.

Documentation

Documentation is available as ordinary HTML pages in this repository. No documentation generator is required.

The executable provides a short command-line reference:

./build/picoturtle --help