3 ms·
Nice! I've been conjuring up a little library for using braille Unicode characters to draw in the terminal which I plan to write a blog post on and release Soon
by pedrovhb 4y ago
Nice! I've been conjuring up a little library for using braille Unicode characters to draw in the terminal which I plan to write a blog post on and release Soon™, and this is a pretty cool idea for a demo. I'll have to try my best to resist implementing it, because I've been delaying it by having waaay to much fun making demos already [0], but that's a good problem to have, I think :)
[0] https://raw.githubusercontent.com/pedrovhb/brailliant/main/examples/phys_balls.svg https://raw.githubusercontent.com/pedrovhb/brailliant/main/e... (warning, 8mb unoptimized animated svg)
- Aardwolf 4y agoI tried rendering something with braille characters, but for whatever reason using Konsole in Archlinux, despite trying multiple fixed-width fonts, the no-dots (empty) braille character rendered with a different width than all the others, and trying other (fixed width or not) space characters instead also didn't help. This of course messing up the alignment. Maddening! When making a fixed width font and adding the braille characters, the first priority should be to make all 256 (also the empty one) of them the same width! And a VTE should of course prioritize rendering fixed width as fixed width. How did that get screwed up? Now that I think of it, I could have used one of the others but made the font fg color the same as the bg color. But that wouldn't look good if then copypasting it into a plain text editor.