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.
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.
Advanced Packaging Tool (Ubuntu):
sudo apt-get update && sudo apt-get install -y libsdl2-dev libsdl2-image-dev
Homebrew (MacOS):
brew install sdl2_image