Skip to content

Latest commit

 

History

History
37 lines (20 loc) · 1.16 KB

File metadata and controls

37 lines (20 loc) · 1.16 KB

logo

turtle

The turtle package provides a friendly and software-rendered drawing solution, for simple programs and games that happen to be written on a Friday.

Features

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.

Changelog

Version 0.1 (March 25th 2025) Port to SDL3.

Examples

See examples/ directory.

Philosophy

https://www.youtube.com/watch?v=kfVsfOSbJY0