Re:Replacing Photoshop with NSString
by infogulch on Friday March 20, 2015 @06:43PM
(#9241102)
What if you allowed composing multiple "layers" into a single output to make different parts of an otherwise busy diagrams more clear? For example, I found the bug one particularly obfuscated:
But if you split it into two diagrams it becomes much more clear what's going on:
Especially if you name them. Here, "body" and "legs". Edit: add spaces for clarity. Edit2: use cdot.
[ Parent
| on HN ]
Re:Replacing Photoshop with NSString
by charles_parnot on Friday March 20, 2015 @06:45PM
(#9241110)
TBH, the bug is an example of where this hack should not be used :D
I agree, the bug is mostly a worst-case complexity scenario, but it seems to help with the other slightly more complex examples like the lock as well, by separating the keyhole from the rest of the shape:
· · · · · · · · · · · · · · · · · · · · · · · · · · · ·
· · · 1 · · · · · · 1 · · · · · · · · · · · · · · · · ·
· · · · · · · · · · · · · · · · · · · · · · · · · · · ·
· · · · · · · · · · · · · · · · · · · · · · · · · · · ·
· · · · · · · · · · · · · · · · · · · · · · · · · · · ·
· 3 · 1 · · · · · · 1 · 4 · · · · · · · · · · · · · · ·
· · · · · · · · · · · · · · · · · · · · · · · · · · · ·
· · · · · · · · · · · · · · · · · · · A · · A · · · · ·
· · · 1 · · · · · · 1 · · · · · · · · · · · · · · · · ·
· · · · · · · · · · · · · · · · · · · · C D · · · · · ·
· · · · · · · · · · · · · · · · · · · A · · A · · · · ·
· · · · · · · · · · · · · · · · · · · · · · · · · · · ·
· · · · · · · · · · · · · · · · · · · · B E · · · · · ·
· · · · · · · · · · · · · · · · · · · · · · · · · · · ·
· 6 · · · · · · · · · · 5 · · · · · · · · · · · · · · ·
Re:Replacing Photoshop with NSString
by charles_parnot on Friday March 20, 2015 @07:08PM
(#9241204)
You are totally right, and I actually also considered doing just that initially in my code.
Re:Replacing Photoshop with NSString
by matiaspiipari on Friday March 20, 2015 @08:53PM
(#9241485)
I've just added support for layering using '#>>>' as a layer separator to ASCIImage Super Studio (http://asciimage.org/ass):
https://twitter.com/mz2/status/579080005453398017
Your lock example from above is shown here:
Re:Replacing Photoshop with NSString
by matiaspiipari on Saturday March 21, 2015 @10:11AM
(#9242761)
Ermm, second link was meant to be https://twitter.com/mz2/status/579083258631073792