The turtle
package provides a friendly and software-rendered drawing solution, for simple programs and games that happen to be written on a Friday.
turtle
basically gives you 5 ways to draw on screen and express yourselves.
- A fast but limited software rasterizer with the
canvas()
API call. (See project: dg2d) - A slow but nicer software rasterizer with the
canvasity()
API call. (See project: canvasity) - A text-mode console with the
console()
API call. (See project: text-mode) - An immediate software-based UI with the
ui()
API call. (See project: microui) - Direct pixel access with the
framebuffer()
API call.
The draw order is as follow:
- Direct pixel access, and canvases, can happen simulaneously in the
draw
override. - Text console is above that, but also happen in the
draw
override. - Immediate UI is on top, and happen in the
gui()
override.
Version 0.1 (March 25th 2025) Port to SDL3.
See examples/
directory.