Show HN: ASCII Drawing Board

(delopsu.com)

120 points | by delopsu 4 days ago ago

45 comments

  • jkhanlar 4 days ago ago

    It appears a little buggy handling fixed width improperly, noticeably when using a mouse to write out a word, with uneven drawing, the fixed width spacing does not consistently properly match the cursor movement for some lines.

  • kordlessagain 3 days ago ago

                         ӨӨӨ       ӨӨ        ӨӨӨ              ӨӨ            ӨӨ
                         ӨӨ       ӨӨӨ        ӨӨӨӨ             ӨӨ            ӨӨ
                         ӨӨ       ӨӨ         ӨӨӨӨ             ӨӨ            ӨӨ
                        ӨӨӨ       ӨӨ         ӨӨӨӨӨ            ӨӨ            ӨӨ
                        ӨӨ        ӨӨ         ӨӨ ӨӨ            ӨӨ            ӨӨ
                       ӨӨӨ       ӨӨӨ         ӨӨ ӨӨ            ӨӨ            ӨӨ
                       ӨӨ        ӨӨ          ӨӨ ӨӨӨ           ӨӨ            ӨӨ
                       ӨӨ        ӨӨ          ӨӨ  ӨӨ          ӨӨӨ            ӨӨ
                       ӨӨ        ӨӨ          ӨӨ  ӨӨӨ         ӨӨ             ӨӨ
                       ӨӨ        ӨӨ          ӨӨ   ӨӨӨ        ӨӨ             ӨӨ
                      ӨӨӨ       ӨӨӨ          ӨӨ    ӨӨ        ӨӨ             ӨӨ
                      ӨӨ        ӨӨ           ӨӨ    ӨӨӨ       ӨӨ             ӨӨ
                      ӨӨ        ӨӨ           ӨӨ     ӨӨ       ӨӨ             ӨӨ
                     ӨӨӨ        ӨӨ           ӨӨ     ӨӨӨ      ӨӨ             ӨӨ
                     ӨӨӨӨӨӨӨӨӨӨӨӨӨ          ӨӨӨ      ӨӨӨ     ӨӨ             ӨӨ
                     ӨӨӨӨӨӨӨӨӨӨӨӨӨ          ӨӨ        ӨӨ     ӨӨ             ӨӨ
                     ӨӨ         ӨӨ          ӨӨ        ӨӨӨ   ӨӨӨ             ӨӨ
                    ӨӨӨ         ӨӨ          ӨӨ         ӨӨ   ӨӨ              ӨӨ
                    ӨӨ          ӨӨ          ӨӨ         ӨӨӨ  ӨӨ              ӨӨ
                    ӨӨ          ӨӨ          ӨӨ          ӨӨ  ӨӨ              ӨӨ
                    ӨӨ          ӨӨ          ӨӨ          ӨӨӨ ӨӨ              ӨӨӨ
                   ӨӨӨ          ӨӨ          ӨӨ           ӨӨӨӨӨ               ӨӨ
                   ӨӨ           ӨӨ         ӨӨӨ            ӨӨӨӨ               ӨӨ
                   ӨӨ           ӨӨ         ӨӨ             ӨӨӨӨ
                   ӨӨ           ӨӨ         ӨӨ              ӨӨӨ
                   ӨӨ           ӨӨ         ӨӨ              ӨӨ             ӨӨӨӨӨӨ
                   ӨӨ                      ӨӨ                             ӨӨӨӨӨӨ
    • delopsu 3 days ago ago

                 HNNN          HHHHHHHN
             HNNNNNNNNN  HHHHHHHHHHHHHN
            HNNNNN HNNNNNHHHHHHN     HN
            HN        HNHHN          HN
            HHN         HN         HNNN
             HHN                  HNNN
              HHN              HNNNN
               HHHHN        HNNNNNN
                HHHHHHN   HNNNNN
                   HHHHHHNHNN
                      HHHHN
                         HN
  • atum47 4 days ago ago

    It could work on mobile if you work a little bit on it. Right now touch is dragging the screen

    • delopsu 4 days ago ago

      Oh, yes, forgot about it. On tablet it could be pretty convenient to use, if it works. Thank you!

      • firasan 4 days ago ago

        On my iPad, the vertical movements seem to trigger the page scroll

        • delopsu 4 days ago ago

          I've pushed a simple fix.

          It allows to draw on touch devices (with interesting effects with multi-touch). But one can stuck at the center of the canvas. If it happens — tap the header of the browser to scroll back to top.

          Could you please try it again?

          Thinking about more elegant solution.

          • firasan 4 days ago ago

            Much better now. Thanks for fixing it!

        • delopsu 4 days ago ago

          Thank you, working on it at the moment.

  • andrewrn 4 days ago ago

    Really fun. Perfect HN post.

  • vunderba 3 days ago ago

    Nice job. There's also a good open-source ASCII paint tool which supports export to TXT/ or PNG that I've been using for the past few years as well.

    Github

    https://github.com/Kirilllive/ASCII_Art_Paint

    Online Demo

    https://kirilllive.github.io/ASCII_Art_Paint/ascii_paint.htm...

    • delopsu 3 days ago ago

      Thank yuou for sharing! Interesting solution. I'm thinking about adding brush palette.

      And thank you for checking it out, glad you liked it!

  • DamonHD 4 days ago ago

    Would much prefer it to start with just printable ASCII characters in the brush (32--126) from which the output would work in more places and would be in better alignment with the name.

    Having said that, yes, fun and interesting, thank you...

    • delopsu 4 days ago ago

      Thank you for trying it and for the feedback! Glad you liked it!

      > start with just printable ASCII characters in the brush

      Yes. I started like this. But then set these fancy characters by default to show the capabilities, because those who are familiar with the concept know the possibilities, but those who don't know could think that it's limited and not notice wide limits.

  • doi9t 4 days ago ago

    It's always nice to see new tools editing ASCII; especially when working with markdown documentation.

    For those who like those types of tools, but for diagrams, there's asciiflow.com.

    Good job!

  • bigjobby 2 days ago ago

    Brilliant. Rick ASCii thanks you https://bigjobby.com/8bitrick/

  • delopsu 3 days ago ago

    Oh, these guys have a drawing board too, with a bit different approach: https://www.asciiart.eu/ascii-draw-studio/app

  • matt3210 4 days ago ago

    > So instead I decided to ask it make a drawing board

    Very nice. Congrats to the coding agent which made this. Needs an undo button though!

    • delopsu 4 days ago ago

      Passed it. Here is the reponse:

      > Love to hear that — thank you for sharing!

      Not sure about Undo — part of me wants to keep it hardcore. Like with real ink.

  • slig 4 days ago ago

    Nice one, thanks for sharing! Love these simple tools that LLMs can help us ship them in no time.

    • delopsu 4 days ago ago

      Yes, exactly! There might so many unexplored and/or abandoned ideas.

      Thank you for checking it out!

  • 47282847 3 days ago ago

    Nice! Feature request: drop-down menu to select a few “popular“ brush sets.

    • delopsu 3 days ago ago

      Yes, thank you! I'm thinking about making brushes and art gallery, it would be very interesting to see what people come up with.

      Thank you for checking it out and for the feedback!

  • delopsu 4 days ago ago

    It's a shame that I haven't read text above after posting (only in Edit mode).

    I used asterisk after "difficult task" and in the footer — all between became italic. And also brush was cleaned out.

  • jbentley1 4 days ago ago

    I'm going to use this for all of my Slack replies

    • delopsu 4 days ago ago

      Aha, thank you!

  • pwnfunction 3 days ago ago

    is this opensource? adding a cool fluid simulation to whatever you draw would be really fun. its like one of those ioccc vids - https://www.youtube.com/watch?v=QMYfkOtYYlg

    • delopsu 3 days ago ago

      Very interesting one! So many cool things have been made in this field! However I think it's not relevant for the board. It's not open-sourced (at least yet).

      Anyway thank you for checking it out and suggestion!

  • teddyh 4 days ago ago

    emacs M-x artist-mode

  • janwillemb 4 days ago ago

    Doesn't seem to work on Firefox mobile. On each stroke it only renders one "point".

    • delopsu 4 days ago ago

      Hm. What OS do you use? It works fine (for me) in Firefox on iOS. Haven't tested on Android.

      • 01HNNWZ0MV43FF 4 days ago ago

        For me, Firefox on Android, I get this:

        One stroke draws one spot at the starting point. Any number of further strokes draw nothing. When I tap outside the canvas I can draw one more point

        • delopsu 4 days ago ago

          Could you please try it now? Pushed a fix, but have no Android to test it.

  • arkensaw 4 days ago ago

    This is such a great idea, well done. Congrats!

  • Grayson2025 4 days ago ago

    very interesting, good job!