Is there a platform-independent C/C++ library that can draw simple "graphics" in pure ASCII in a console program? For example (VERY roughly) I could call a function in the library like rectangle(3, 6);
to get the following output:
******
* *
******
Ultimately, I would love to be able to plot simple graphs based on input data tables like:
|
|*
|
| *
| *
| *
| *
| *
+---------------------------------
And does anyone know if there is a way to specifically render data plots/graphs in ASCII or UTF8?
I don't know if its exactly what you're searching for, but this library will render images and viedos to the console.
http://aa-project.sourceforge.net/aalib/
In addition to aalib there is also libcaca (this one will render in full color)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With