TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Drawille: Pixel graphics in terminal with Unicode braille characters

150 pointsby Ivoahover 7 years ago

11 comments

chmod775over 7 years ago
Did anyone even stop to appreciate the irony of using a thing created for blind people to make something that will only ever be useful to people with sight, if at all?
评论 #15606348 未加载
评论 #15608893 未加载
评论 #15603668 未加载
fenwick67over 7 years ago
On a similar note, I wrote a library for drawing (24-bit) color raster graphics in the terminal if anyone&#x27;s interested:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;fenwick67&#x2F;term-px" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;fenwick67&#x2F;term-px</a><p>Demo &#x2F; image utility here:<p><a href="https:&#x2F;&#x2F;fenwick.pizza&#x2F;term-px&#x2F;" rel="nofollow">https:&#x2F;&#x2F;fenwick.pizza&#x2F;term-px&#x2F;</a>
评论 #15605539 未加载
mslaover 7 years ago
I can&#x27;t wait until people rediscover Sixels and get actual graphics in the terminal in a network-transparent fashion. Modern terminal emulators support it, it just isn&#x27;t widely known.
评论 #15603915 未加载
评论 #15605009 未加载
NelsonMinarover 7 years ago
I guess Tektronix graphics isn&#x27;t supported by anything anymore? <a href="http:&#x2F;&#x2F;physics.oregonstate.edu&#x2F;~landaur&#x2F;nacphy&#x2F;coping-with-unix&#x2F;node140.html" rel="nofollow">http:&#x2F;&#x2F;physics.oregonstate.edu&#x2F;~landaur&#x2F;nacphy&#x2F;coping-with-u...</a>
评论 #15607464 未加载
评论 #15604878 未加载
bwastiover 7 years ago
<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15549366" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15549366</a>
flotilloover 7 years ago
Quite reminiscent of the Teletext &#x27;alpha mosaic&#x27; characters, which were 2x3 block graphics characters.<p>It could be used to make pages like e.g. <a href="https:&#x2F;&#x2F;al.robotfuzz.com&#x2F;~al&#x2F;teletext&#x2F;c4&#x2F;1995-08-26-0046.0&#x2F;496.html" rel="nofollow">https:&#x2F;&#x2F;al.robotfuzz.com&#x2F;~al&#x2F;teletext&#x2F;c4&#x2F;1995-08-26-0046.0&#x2F;4...</a>
评论 #15607500 未加载
j_sover 7 years ago
My previous attempt at a pithy complaint pointing out the license of this project was flagged, so I will attempt to provide a bit more value:<p>This is a great idea and would be nice even just as an art project but unfortunately I can&#x27;t do much personally useful with it.<p>The choice is 100% up to the author and I respect how they avoid losing control of their IP. It is interesting to see the uptake and I wonder how many project using this tool are in violation of the license.<p><a href="https:&#x2F;&#x2F;www.gnu.org&#x2F;licenses&#x2F;why-not-lgpl.html" rel="nofollow">https:&#x2F;&#x2F;www.gnu.org&#x2F;licenses&#x2F;why-not-lgpl.html</a>
mmatantsover 7 years ago
This is a really neat looking project (and the GH readme references the original HN discussion). For folks who are generally into TTY UIs and dashboards, I also want to point out the Blessed terminal rendering lib and its ecosystem (which even includes a React bridge!):<p><pre><code> - https:&#x2F;&#x2F;github.com&#x2F;chjj&#x2F;blessed - https:&#x2F;&#x2F;github.com&#x2F;yaronn&#x2F;blessed-contrib - https:&#x2F;&#x2F;github.com&#x2F;Yomguithereal&#x2F;react-blessed </code></pre> (edited for syntax and also to clarify I am not affiliated with the above, just a fan)
to3mover 7 years ago
I think the block characters are easier to read, but with a 4x4 grid the resolution is lower: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Block_Elements" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Block_Elements</a><p>The resulting pixel resolution is a bit screwy, especially if you use a tall, thin font like the one I tend to. Too many pixels horizontally, too few vertically. The upper block&#x2F;lower block characters might be better in terms of aspect ratio, but then the overall resolution is made even worse...<p>The 2x3 Braille grid makes a lot more sense.
评论 #15603907 未加载
grondiluover 7 years ago
The rotating cube is especially cute. I challenge anyone to now write a clone on the classic game Elite with this.
devereauxover 7 years ago
Awesome!<p>I wonder if unicode characters could be used on top of libcaca for an even more accurate rendering.
评论 #15605998 未加载