I made a little module of convenience functions to help draw lines, shapes, and text for visual debugging. The render “draw_line” and “draw_text” messages are really long and cumbersome to type, so this wraps them up and makes things simple. It’s not an exhaustive shape-drawing library, just enough to draw a few different kinds of indicators and things.
You can use it as a library dependency with the following link, or just grab the lua file and drop it in your project wherever suits you.
See the Readme on github for documentation (though it’s all pretty straightforward).