drawille
drawille copied to clipboard
color support?
Is there a way to add color support? Alternatively, is there another similar terminal canvas drawing library that you know of that has color support?
Thanks
Just stumbled onto this project, and jeez is this all impressive.
I'm pretty sure adding colors could take like 2-3 hours. Using ansi escape sequences like in this project would do the trick: https://github.com/SamyBencherif/CodePad
Of course the colors will be sort of "hacky" because the screen resolution of the colors is approximately half of the pixel resolution. Bound to look cool tho !
I will add this to my infinite list of things to implement ! <3
This is also worth looking at https://www.uninformativ.de/blog/postings/2016-12-17/0/POSTING-en.html
It will give you sub-pixel dot resolution of (2x1) and same for colors. Whereas this project provides 3x2 subpix dot and 1x1 (none) subpix color.
I think drawville is probably optimal for line art and diagrams, where the other techniques might excel at jpg's and images.