4 ms·
I wanted to hate this, because it seems like it's trying really hard to be nerd-hip. But dammit this is cool, and there is going to be some really cool executab
by fapjacks 7y ago
I wanted to hate this, because it seems like it's trying really hard to be nerd-hip. But dammit this is cool, and there is going to be some really cool executable ASCII art made with it.
I swear, though, if I see one single talk by someone wearing a logo-shirt and slacks at some street-level corporate HQ in SoMa posted on Youtube...
- tsumnia 7y agoTrue, but Piet [1] already does that without Hilbertizing code. Also, humble flex for calling this 7 months ago [2] [1] http://www.dangermouse.net/esoteric/piet.html http://www.dangermouse.net/esoteric/piet.html [2] https://news.ycombinator.com/item?id=18496566 https://news.ycombinator.com/item?id=18496566
- klyrs 7y agoTo be fair, Piet doesn't really do ascii art. But all you really need (hold my beer I'm gonna attempt a [2]) is a text representation. File format: ascii, with lines of characters corresponding to lines of pixels. The longest line sets the image width, ragged lines should be padded according to implementation. Special characters: Line feed: ignored Carriage return: end of line Tab or space: #ffffff #: #000000 All other printing characters (0x21, 0x22, [0x24-0x7f]): ordinal is taken mod 18 and converted to pixel values, 0 -> #c00000 1 -> #ff0000 2 -> #ffc0c0 3 -> #c0c000 ... 17 -> #ffc0ff
- tsumnia 7y agoWhile it doesn't do ASCII art, [1] does show some of the programs people have built where they've included space for artwork [1] http://www.dangermouse.net/esoteric/piet/samples.html http://www.dangermouse.net/esoteric/piet/samples.html
- klyrs 7y agoI know. I've written some of the programs on that page