drawille icon indicating copy to clipboard operation
drawille copied to clipboard

color support?

Open han-so1omon opened this issue 4 years ago • 2 comments

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

han-so1omon avatar Jun 04 '20 22:06 han-so1omon

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

SamyBencherif avatar May 24 '22 15:05 SamyBencherif

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.

SamyBencherif avatar May 24 '22 15:05 SamyBencherif