3 ms·
Now make a readable version where the braille symbols are converted into their latin alphabet equivalents.
by ebg13 7y ago
Now make a readable version where the braille symbols are converted into their latin alphabet equivalents.
- nneonneo 7y agoThe Braille symbols are used as subpixels, not for their meaning. It’s a convenient way to basically have 8 pixels (2x4) per display character.
- ebg13 7y agoI am fully aware. Please reinterpret my statement knowing now that I know that.
- nneonneo 7y agoAh, I thought your original comment was referring to using the corresponding letters for the Braille (semantically), but now I guess you're probably unable to see it because your terminal doesn't have the Braille fonts (or doesn't have UTF-8 support?). I guess it would be possible to hack the code (it's just JS running under Node) to change the output character set; the challenge (as usual with ASCII) is to pick a character set that looks good. But honestly, it's not as if using 7-bit ASCII will make it any more "readable"; more compatible, possibly, but the use of Braille subpixels definitely makes the map look visually nicer.
- ebg13 7y ago> I thought your original comment was referring to using the corresponding letters for the Braille (semantically) It was. You're overthinking this. I want to see what the braille reads like.
- kingofpandora 7y agoThat's a strange request, along the lines of wanting to know what your mp3s spell if you just converted the encoded data into whatever characters the drama happens to encode.
- nneonneo 7y agoAh, well, your original comment was a little unclear there, so apologies for the confusion. Unfortunately most of the characters won’t map onto any Latin letter. Typical English Braille only uses the top 6 dots - but as a display character, this program uses all 8 dots. I’m not even sure which Braille dialects use all eight dots. As another commenter hinted at, it’s a bit strange to ask what the semantic meaning of graphical display characters are - a bit like reading out the characters in a binary file which happen to correspond to ASCII values. (Like, what might happen if you open a binary file in a text editor).
- lifthrasiir 7y ago> I’m not even sure which Braille dialects use all eight dots. I'm aware of two dialects, Gardner-Salinas [1] and Kantenji [2]. And they are different in to which direction 6-dot brailles are extended. [1] https://en.wikipedia.org/wiki/Gardner%E2%80%93Salinas_braille_codes https://en.wikipedia.org/wiki/Gardner%E2%80%93Salinas_braill... [2] https://en.wikipedia.org/wiki/Braille_kanji https://en.wikipedia.org/wiki/Braille_kanji
- dheera 7y agoI did something similar with ROSshow: https://github.com/dheera/rosshow https://github.com/dheera/rosshow I created a Python library for the Braille graphics part: https://github.com/dheera/python-termgraphics https://github.com/dheera/python-termgraphics
- mpoteat 7y agoThank you for this. We used rosshow in our robotics lab at university.
- mhd 7y agoThis is a total tangent, but it might be interesting to scrape map output for meaningful words formed by the braille characters. Or we just leave that to enterprising conspiracy theorists, as a new kind of "backwards masking".