Remix.run Logo
rbanffy a day ago

I was going to suggest using the new 2x4 unicode or Teletext glyphs, but they didn't exist in 2011. Is anything like this included in Linux distros? I couldn't find it in Fedora's or Ubuntu's repos. I guess I'll try my hand at making a new one. Might as well use it as an excuse to learn Rust.

mechanicum a day ago | parent [-]

Braille characters would double the horizontal resolution but halve the already limited vertical resolution, which isn’t great for something that’s intended to be displayed inline with text.

I think Teletext might be even worse. IIRC, it only has three heights for its triangles.

If you’re interested in multiline plotting with braille characters, Ian Henry’s bytemap for Janet (https://github.com/ianthehenry/bytemap) is worth a look (or my Clojure port: https://github.com/waddie/bytemap.clj).

rbanffy 5 hours ago | parent [-]

Teletext also has the “smooth” characters that have inclined lines. I’d need to take a good look at them to understand how to use them, but if you can lose the vertical precision, it’s OK, because you pack more in the horizontal axis.

As for Braille, the last Unicode standard added Kaypro’s 2x4 mosaics, so we can stop misusing Braille for that (a huge relief to me, because the banding that often happens always annoys me).