@@ -59,6 +59,37 @@ some post-processing to further compact it.
5959 - Sometimes the downscaling results in a box with uneven spacing, e.g. a rectangle with
6060width 5 and the label is 2 chars. Due to discrete coordinate space in ASCII renders, some
6161outputs may look less even than their SVG counterparts.
62+ - Not all shapes are supported
63+ - Here's what all the shapes render as in ASCII. Some of these, like cloud and circle,
64+ have curves that don't translate well to ASCII. We render these as a rectangle and add
65+ a little icon for what it's supposed to represent in the top-left. These are subject to
66+ change.
67+
68+ ``` txt
69+ ┌────────┐ ***
70+ ╱‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾╱ ╱‾‾‾‾‾‾‾‾‾╱╲ │callout │ **** **** ╱‾‾‾‾‾‾‾‾‾╲
71+ ┌──────────┐ ╱ ╱ │ │ │ └────────┘ *** diamond *** ╱ ╲
72+ │rectangle │ ╱ parallelogram ╱ │ queue │ │ │ ╱ **** **** ╲ hexagon ╱
73+ │ │ ╱_______________╱ ╲________ ╲╱ │╱ ***** ╲_________╱
74+ └──────────┘
75+ │ │ │ │ │ │
76+ ▼ ▼ ▼ ▼ │ ▼
77+ ┌─────────┐ ┌──────────┐ ┌────┐ ╱‾‾‾‾‾‾‾‾‾‾‾╱ ▼ ┌☁─────────┐
78+ │ │ │ document │ │ └────┐ ╱ ╱ ┌⬭────────┐ │ │
79+ │ square │ │ .-`-.│ │ package │ │ stored_data │ oval │ │ cloud │
80+ │ │ `-.-` └─────────┘ ╲ ╲ │ │ │ │
81+ │ │ ╲___________╲ └─────────┘ │ │
82+ └─────────┘ │ │ │ │ └──────────┘
83+ │ │ │ │ │
84+ ▼ ▼ ▼ ▼ │
85+ ┌─────┐ .-‾‾‾‾-. ╲‾‾‾‾‾‾‾ ╲ ╱‾‾╲ ▼
86+ │ ╲┐ │╲-____-╱│ ╲ ╲ ╲__╱ ┌⬭────────┐
87+ │ page │ │ │ ╲ ╲ ╱‾‾‾‾╲ │ │
88+ │ │ │ │ ╱ step ╱ ‾‾‾‾‾‾ │ circle │
89+ └──────┘ │cylinder│ ╱ ╱ person │ │
90+ │ │ ╱_______ ╱ │ │
91+ ╲-____-╱ └─────────┘
92+ ```
6293
6394## Try it yourself
6495
0 commit comments