lmjtfy.git / packages / card / examples / README.md
1# Chapter 11¾: card/examples, a contact sheet
2
3One program, `dump.rs`, which draws every kind of card the site makes (the
4home card, a yes-or-no that is not sure, a how-likely, a pick, a how-much, a
5question read two ways, an answer kept before numbers were, a question never
6asked, and the code card) and writes them to a folder as PNGs, so a change
7to the drawing can be seen at a glance.
8
9> **Try it.**
10>
11>     mkdir -p /tmp/cards
12>     cargo run -p card --example dump -- /tmp/cards
13
14| File | What |
15| --- | --- |
16| [dump.rs](dump.rs) | Writes each kind of card to the folder it is given. |
17
18← Previous: [Chapter 11½, card/src/](../src/) · Up: [card](../) · Next: [Chapter 12, tree/](../../tree/) →