I'm way more impressed by some of those ASCII charts than I am of the SVG conversion. The one that looks like a temperature scale from 2011-2016 is super cool.
I do think that creating and updating these kind of diagrams would be quite tedious. I'd take a DSL (PlantUML, Graphviz, Structurizr) over graphical tools though. At $JOB we also use Miro at the moment, and that tool has a way to see changes since your last visit. I'd much rather be able to approve a change in a diagram via a pull request review.
That makes me wonder, do any of you know about content management systems that are GUI based, but are able to have a pull-request like workflow?
KeenWrite[0], my text editor, renders changes to text diagrams in quasi-real-time by calling out to Kroki. Meaning, you can embed Svgbob in Markdown documents using:
This is neat. I expected something which had a predefined dictionary of ASCII shapes along with manual SVG translations... but this tool is dynamic. It really does create the shapes as you draw them.
This tool is great. I used it for diagrams[1][2] in my SICP project after trying lots of alternatives. It was the only one that allowed me to reach my goal of having pristine source that stands on its own, but also renders to a nice web page. I also use svgo and do some custom post-processing[3] to simplify the output.
This is really interesting to play around with. There are some heuristics that are being used that seemed odd to me until I remembered that this is supposed to be for diagramming, not necessarily for ASCII art.
For instance, this draws an obtuse angle and a right angle that are not connected to each other:
_/|__
This simply adds height to the right angle, but does not connect them:
.
_/|__
But this connects both angles together with a sharp point:
+
_/|__
Also, a bit of a nitpick: while I love the amount of examples, I wish they were sectioned off rather than having all of the unformatted text in a single textarea on the left and all rendered images on the right. Trying to scroll the page, I keep scrolling the textarea instead, which breaks the alignment.
Overall, super cool project. I'm looking forward to trying this in real world scenarios soon
It is because `+` is programmed to have a strong signal to a character than can connect to it from any of the 8 direction, while `.` is only programmed to have a strong signal only to 4 directions (top, left, right, bottom)
I wonder how hard it would be to make one that takes hand drawn input and converts it to professional like charts. Basically pick the symbol output style and it converts your hand drawn charts to this.
Neat. I like how it more or less directly translates the input instead of trying to guess shapes. That's definitely the better approach for real scenarios.
Not sure why it concatenates some of the words in the demo, but it's pointless for normal text, so probably not important.
This is some weird bug. I tested it in chrome for android and it doesn't load successfully, but using firefox for android works fine. In the desktop both firefox and chrome works properly. It seems chrome is not consistent in their implementation on other platforms.
Really gorgeous: never having to look at another ASCII diagram makes my day. I'm often surprised that SCG isn't more ubiquitous, as it's objectively better than raster graphics for so many things.