I created a Lua port of the classic Turtle Graphics program, for learning purposes. Here's the prototype
For those who aren't familiar, Turtle Graphics came out of work in the '60s, '70s, and '80s by Seymour Papert, Wally Feurzuig, Cynthia Solomon, and others on the LOGO programming language. It teaches math and programming in a visual, intuitive, embodied way (long before those terms were marketing buzzwords).
Python ships with a version of turtle graphics which uses the TKinter UI library by default, but some great web versions exist, including pythonsandbox.com/turtle and WebTigerPython. YouTube has terrific examples of what you can make with the Python library.
I believe Turtle Graphics is (still) underrated as a learning and teaching tool for anything quantifiable. The original book associated with it, Mindstorms: Children, Computers, and Powerful Ideas is still worth reading and still ahead of its time. It's available online as a free PDF, from Papert's estate, at Bret Victor's worrydream.com and elsewhere. (I have no association with any of these projects).
This project is my first serious undertaking with AI-assisted engineering, but I'm reasonably pleased with it so far. There's a web-based version (Github) and a desktop port (Github) as well, for those who prefer their own IDE setup.
Both projects are roughly feature-equivalent but still under active development and a bit rough around the edges, as you can see.
I hope this project is useful to you, either now or in its future, completed state.
The Lua API is as close to the Python API as I can get it, although naturally there are some differences between languages. If you're already familiar with the Python library (or familiar enough with Python to understand some of the online turtle examples) this would be a good way to become familiar with Lua.
Happy coding!
EDIT: There's a wonderful, mind-bending textbook by Harold Abelson and Andrea DiSessa called Turtle Geometry: The Computer as a Medium for Exploring Mathematics that explains turtle coding in-depth, with a whole host of cool, trippy graphics and very readable pseudocode for implementing them. (Part of the inspiration behind this port is how closely Lua mirros the syntax of those examples and of some of the original LOGO design principles). It is also available free online via MIT's Direct reader.
Here are some Github gists with ready Lua sample code for some of the animations:
A general "polygon" program — one of my favorites.