Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 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

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages