Show HN: A dot matrix rendered using Braille characters
romeovs 2021-08-16 19:47:06 +0000 UTC [ - ]
It reminds me of a similar project that’s been around called drawille [0] which is pretty nifty.
Cyberdog 2021-08-16 19:43:11 +0000 UTC [ - ]
I'm not a JS expert so there's probably room for improvement/modernization code-wise but I think it works pretty well and I'm happy with the results.
nomagicbullet 2021-08-16 19:49:44 +0000 UTC [ - ]
Cyberdog 2021-08-16 20:05:24 +0000 UTC [ - ]
timfi 2021-08-16 19:53:50 +0000 UTC [ - ]
But I'm still torn as the well behaved python programmer in me wants to add pillow as a dependency for that and the not so well behaved one wants *0* dependencies. I think I'll add it as an extra-dep when get around to it.
Cyberdog 2021-08-16 20:07:19 +0000 UTC [ - ]
timfi 2021-08-16 20:10:18 +0000 UTC [ - ]
dheera 2021-08-16 20:03:57 +0000 UTC [ - ]
I use it in: https://github.com/dheera/rossshow
timfi 2021-08-16 20:14:45 +0000 UTC [ - ]
I also thought about adding color support via ANSI escape sequences, but for this project I decided against using them to keep things simple a widely accessible.
danellis 2021-08-16 19:55:17 +0000 UTC [ - ]
timfi 2021-08-16 20:07:47 +0000 UTC [ - ]
...On a side note, I think you kickstarted me down the path of abstracting the drawing algorithms and implicit matrix protocol out, just to make it easier to implement this with different character sets. One set for example could be [U+2596 .. U+259F, U+2589], so basically just a 2x2 grid per character.
_Microft 2021-08-16 20:44:23 +0000 UTC [ - ]
timfi 2021-08-16 20:48:53 +0000 UTC [ - ]
blendergeek 2021-08-16 22:22:42 +0000 UTC [ - ]
Please note: I neither can read or braille nor have I have seen a braille display so take what I say with a grain of salt.
longemen3000 2021-08-17 01:00:47 +0000 UTC [ - ]
adamrezich 2021-08-16 18:26:52 +0000 UTC [ - ]
timfi 2021-08-16 18:29:55 +0000 UTC [ - ]
I think I will need to add some images to the readme as well, just make it looks less wonky. :(
SahAssar 2021-08-16 18:34:15 +0000 UTC [ - ]
I don't know if there are better monospace ones builtin on windows 10 that they could add to the stack.
timfi 2021-08-16 18:53:26 +0000 UTC [ - ]
ASalazarMX 2021-08-16 19:04:20 +0000 UTC [ - ]
Maybe Unicode Braille has issues with Windows monospace fonts? iOS and Linux display them aligned.
timfi 2021-08-16 19:13:26 +0000 UTC [ - ]
timfi 2021-08-17 06:46:11 +0000 UTC [ - ]
timfi 2021-08-16 18:23:25 +0000 UTC [ - ]