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.

Show HN: A dot matrix rendered using Braille characters

18 pointsby timfialmost 4 years ago

8 comments

timfialmost 4 years ago
I made dotmatrix over the weekend and I thought some you might enjoying something like it. The library is written in pure python without any dependencies. As of now I've included some simple drawing functions using Bresenham's line/circle/AA ellipse algorithms and even a function for Bézier curves with arbitrary amounts of control points using De Casteljau's algorithm.
romeovsalmost 4 years ago
This is pretty cool!<p>It reminds me of a similar project that’s been around called drawille [0] which is pretty nifty.<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;asciimoo&#x2F;drawille" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;asciimoo&#x2F;drawille</a>
评论 #28202309 未加载
评论 #28202079 未加载
Cyberdogalmost 4 years ago
For a bitmap equivalent, check out my own DotArt: <a href="https:&#x2F;&#x2F;albright.pro&#x2F;dotart&#x2F;" rel="nofollow">https:&#x2F;&#x2F;albright.pro&#x2F;dotart&#x2F;</a><p>I&#x27;m not a JS expert so there&#x27;s probably room for improvement&#x2F;modernization code-wise but I think it works pretty well and I&#x27;m happy with the results.
评论 #28202061 未加载
评论 #28202114 未加载
dheeraalmost 4 years ago
A similar library I wrote: <a href="https:&#x2F;&#x2F;github.com&#x2F;dheera&#x2F;python-termgraphics" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dheera&#x2F;python-termgraphics</a><p>I use it in: <a href="https:&#x2F;&#x2F;github.com&#x2F;dheera&#x2F;rossshow" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dheera&#x2F;rossshow</a>
评论 #28202349 未加载
danellisalmost 4 years ago
Reminds me somewhat of Teletext graphics, whose character set included 2x3-cell blocks that could be displayed either joined up or separated.<p><a href="https:&#x2F;&#x2F;channel26.uk&#x2F;teletext-design&#x2F;" rel="nofollow">https:&#x2F;&#x2F;channel26.uk&#x2F;teletext-design&#x2F;</a>
评论 #28202272 未加载
_Microftalmost 4 years ago
Looks cool. Have you had feedback from people using braille displays? Can they understand these images or do they look like garbled text to them because it is using letter symbols without their actual meaning?
评论 #28202762 未加载
评论 #28203702 未加载
longemen3000almost 4 years ago
Nice!, in Julia there is a library to do plots with a similar technique, <a href="https:&#x2F;&#x2F;github.com&#x2F;Evizero&#x2F;UnicodePlots.jl" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Evizero&#x2F;UnicodePlots.jl</a>
adamrezichalmost 4 years ago
the example in the readme doesn&#x27;t render correctly for me (Chrome on Windows 10). is this an issue with the font or what?
评论 #28201251 未加载
评论 #28201601 未加载
评论 #28206902 未加载