An open API service indexing awesome lists of open source software.

https://github.com/zeozeozeo/tinygp

Tiny Graphics Painter: small, fast and pretty graphics tessellation in C99.
https://github.com/zeozeozeo/tinygp

c c99 gl gp graphics graphics-library opengl rendering tessellation tessellator vector-graphics vulkan

Last synced: 2 months ago
JSON representation

Tiny Graphics Painter: small, fast and pretty graphics tessellation in C99.

Awesome Lists containing this project

README

        

# **WIP**

# tinygp.h (Tiny Graphics Painter)

This is a small and fast 2D graphics library written in C99 (WIP).

# Features

- Antialiasing
![Not antialiased](/media/aliased.png)

![Antialiased](/media/antialiased.png)

- 2D transformations (rotation, translation, projection)
- Ability to provide your own userdata for every draw command (the library does not provide shader support or image loading, but it can be implemented by using this feature)
- Does not rely on a graphics API, the library only generates draw commands (there is a backend for OpenGL and OpenGLES)
- Automatic batching: draw commands are automatically merged
- Batch optimization: rearranges draw commands to merge more of them
- Single header library