Skip to content

z-riley/turdgl

Repository files navigation

turdgl

Turdgl is a 2D graphics library built on top of Simple Directmedia Layer. It is CPU-based, meaning it does not perform well with intensive graphics.

This project was built as a learning experience. Therefore, it is not recommended for any serious applications.

Capabilities

This library does:

  • Draw 2D shapes
  • Render text
  • Handle keyboard and mouse inputs
  • Provide fine-grained control of primitives and their interactions

This library does not:

  • Support animations*
  • Provide "game engine" like functionality

*Animations and other complex graphics can be built on top of Turdgl. See go-2048-battle as an example.

Dependencies

SDL2 - DirectMedia Layer

Advanced Packaging Tool (Ubuntu):

sudo apt-get update && sudo apt-get install -y libsdl2-dev libsdl2-image-dev

Homebrew (MacOS):

brew install sdl2_image

About

World's worst graphics library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages