wojciech-graj/TermGL has 409 GitHub stars and 13 forks. GitHot measured 0 stars in 24 hours and +3 in 7 days. Last checked 2026-11-13 02:43 UTC. Last push 2025-12-28.
So werden diese Zahlen gemessen
2D & 3D graphics engine in the terminal [C/C++]
Gemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- +3
- in 15 days
- Verlauf wird gesammelt
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
OriginalTermGL
A terminal-based graphics library for 2D and 3D graphics.
Features:
- Windows & *NIX support
- C99 compliant without external dependencies
- Custom vertex and pixel shaders
- Affine texture mapping
- 24 bit RGB mode
- Indexed color mode: 16 Background colors, 16 foreground colors, bold and underline
- Non-blocking input from terminal
- Mouse tracking
Gallery



Documentation
A tutorial can be found here. Additionally, please reference the demo, and read the function documentation in termgl.h for more details.
Build
You can compile termgl.c as you would any other C source file. You can also compile it as a shared library libtermgl.so by calling make shared. To install the shared library, sudo make install.
To enable 3D functionality, define TERMGL3D or use the -DTERMGL3D compiler flag.
To enable utility functions, define TERMGLUTIL or use the -DTERMGLUTIL compiler flag.
To disable helper functions for vector math and shaders, define TERMGL_MINIMAL or use the -DTERMGL_MINIMAL compiler flag.
To use TermGL in C++, compile it as a shared library and link against the libtermgl.so file. The termgl.h header can be included from C++ files.
To compile a demo program, run make demo, creating the termgl_demo binary.
Demo
A demo program can be found at termgl_demo.c.
Available demos and TermGL features used:
- Utah Teapot
Renders a rotating 3D Utah Teapot.- Backface culling
- Z buffering
- Double-width characters
- 3D rendering
- Custom shaders
- Color Palette
Renders a palette of various text colors and styles.- Colors & Modifiers
- Mandelbrot
Renders an infinitely zooming-in Mandelbrot set.- Point rendering
- Realtime Keyboard
Displays keyboard input in realtime.- Text rendering
- Realtime keyboard input
- Textured Cube
Renders a texture-mapped cube.- Backface culling
- Z buffering
- Double-width characters
- 3D rendering
- Shaders
- Texture mapping
- RGB
Renders overlapping red, green, and blue circles.- 24 bit RGB
- Text rendering
- Mouse
Displays mouse position and button state.- Mouse tracking
- Text rendering
Ähnliche Projekte entdecken
ytdl-org/youtube-dl
Kommandozeilenprogramm zum Herunterladen von Videos von YouTube.com und anderen Videoseiten
141,545 Sterneexcalidraw/excalidraw
Virtuelles Whiteboard zum Skizzieren von Diagrammen im handgezeichneten Stil
135,559 Sternegodotengine/godot
Godot Engine – Plattformübergreifende 2D- und 3D-Spiele-Engine
120,049 Sternemrdoob/three.js
JavaScript-3D-Bibliothek.
118,228 Sterne