MapSCII – A Braille and ASCII world map renderer for the console

147 points by itherseed 1 year ago | 23 comments
  • tonisherill 1 year ago
    Anyone else also looking around for more tools like MapSCII, this site frequently updates with other TUI and CLI tools with handy and quick install instructions.

    https://terminaltrove.com/

    I can also see they have mapscii too which is great.

    https://terminaltrove.com/mapscii/

    There's also awesome-tuis as well which I also find very useful as well.

    https://github.com/rothgar/awesome-tuis

    • boxed 1 year ago
      Super cool!

      I do wish there were much better algorithms for ascii art. The best manual ascii/ansi art humans produced during the peak of that scene is extremely far ahead of any algorithm I've seen.

    • rastapasta 1 year ago
      Thanks for the kudos and the shared joy :) AMA, happy to answer any potential questions!
      • freedomben 1 year ago
        Thanks for this, this is such a cool tool!

        When zooming in, I get "renderer is busy" which hangs the map for a second or two, and I was curious as to why. I'm running it locally so it isn't network bound. CPU does spike (for process "gnome-terminal-server") but doesn't seem to get anywhere near 100% (for any core). Do you know what it's waiting on when it prints "renderer is busy"?

        • rastapasta 1 year ago
          Even though it runs locally, it is network-connected to the tile server that provides you with the vector tiles (unless they are cached locally after their first use). You currently have to wait for the requested tile(s) to be downloaded, processed, and available in memory before continuing rendering (which is slow in direct comparison to rendering itself). Could be improved by continuing to render the zoomed features of the parent tile until its children are ready (triggering a re-render) - but for now, it simply lets you wait until then :)
      • teruakohatu 1 year ago
        Playing around with that gave me a lot of joy. Would this have worked during the heyday of telnet servers? Or was hardware and connection speeds fast enough to have made this practical?
        • ale42 1 year ago
          Bandwidth wouldn't be so much an issue I think (didn't measure though). Wondering more whether the CPU load required to generate the maps in real time would fit on a machine from that epoch.
          • zamadatix 1 year ago
            Based on cleaning up the asciinema recording it looks to be somewhere around 400-500 kbps averaged over the demo.
        • lynx23 1 year ago
          BTW braille patterns, I wrote a braille backend for Haskell Diagrams: https://hackage.haskell.org/package/diagrams-braille

          Lets you also mix text and braille, although the positioning is a little fragile.

          • girishso 1 year ago
            This reminded me of a quine by a member of the Ruby core team - Yusuke Endoh.

            Spinning globe in the terminal!

            https://gist.github.com/shime/f0ebe84ca42c33b51d42

            • NelsonMinar 1 year ago
              I don't know how to read Braille. Does this rendering work at all to someone who knows how to read Braille by touch? Or is it more using the glyphs as a form of visual ASCII-like art?

              I took a quick look online and it seems like actual tactile maps are using raised lines for the boundaries and Braille for text labels. e.g. https://www.aph.org/product/world-maps/

              • basemi 1 year ago
                > Sorry, you reached a full server, please try again.

                Retrying in couple of days, HN will release the hug by then

                • 1 year ago
                • tambourine_man 1 year ago
                  It's so weird that Hollywood has trained us to think that a TUI is much more hacky/bleeding-edge/pro than a GUI.

                  Back in the 80/90s the future was 3D GUI, today the future is retro.

                  All this to say, very cool project.

                • baudaux 1 year ago
                  You can launch telnet in exaequOS.com if you do not have telnet installed. (I am the creator)

                  Open havoc terminal and type: telnet mapscii.me 23

                  • ulrischa 1 year ago
                    Interesting. But I wonder how one could use this with a Braille line?
                    • panki27 1 year ago
                      > Your connection timed out.

                      But I get to see the lovely logo!

                      • aquir 1 year ago
                        Awesome! Thanks for spending time on this.
                        • rOOb85 1 year ago
                          I love stuff like this!
                          • fexed 1 year ago
                            This is amazing
                            • polyterative 1 year ago
                              cool