Skip to content

the-eugen/vtrenderlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vtrenderlib

vtrenderlib is a lightweight C library for drawing vector graphics directly in ANSI-compatible terminal emulators. It renders colored points, lines and filled polygons using braille characters, allowing programs to produce pseudo-graphics without leaving the terminal.

Building

The project uses CMake and builds a static library along with several demos. A typical build looks like:

mkdir build
cd build
cmake ..
cmake --build .

This will generate libvtrenderlib.a and a few example binaries under demos/.

Demos

A set of small demos showcase various features of the library. The most featureful one is the boids simulation located in demos/boids:

Boids demo

Run it after building with:

./vt-boids

Use -h for a list of runtime options such as number of boids, debug vectors, colors and trails.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published