News for hackers. Stuff that matters.
Re:Plotille: Plot in the terminal using Braille dots by chaz6 on Saturday May 04, 2024 @06:00PM (#40260625)
The problem with using braille characters is the spacing which leaves to uneven distribution of "pixels". This could be improved by using octants, which will be included in Unicode 16.

https://www.unicode.org/charts/PDF/Unicode-16.0/U160-1CC00.p...

Re:Plotille: Plot in the terminal using Braille dots by jmholla on Saturday May 04, 2024 @06:51PM (#40260946)
I don't see a completely filled in octant. What character should be used for that?
Re:Plotille: Plot in the terminal using Braille dots by sp332 on Sunday May 05, 2024 @10:46PM (#40270685)
I think U+2588 Full Block would work?
Re:Plotille: Plot in the terminal using Braille dots by saulpw on Sunday May 05, 2024 @10:48PM (#40270701)
U+2588
Re:Plotille: Plot in the terminal using Braille dots by vok on Sunday May 05, 2024 @10:39PM (#40270642)
With the right font (e.g. http://viznut.fi/unscii/) and line spacing, braille characters work fine with an even distribution of pixels and no gaps.
Re:Plotille: Plot in the terminal using Braille dots by apitman on Monday May 06, 2024 @11:15AM (#40275648)
That's pretty cool. Are there any terminals that ship with such a setup? Better yet, is it possible to override this behavior in your app? For example, could I make a TUI app specifically for plotting data, and have it select it's own font that's optimized for braille plotting?
Re:Plotille: Plot in the terminal using Braille dots by sp332 on Sunday May 05, 2024 @10:42PM (#40270667)
The new Cascadia Code update has both braille and octants. https://devblogs.microsoft.com/commandline/cascadia-code-240...