-
Notifications
You must be signed in to change notification settings - Fork 0
/
tree.tape
61 lines (49 loc) · 936 Bytes
/
tree.tape
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Where should we write the GIF?
Output "tree.gif"
# Set up a 1200x600 terminal with 46px font.
Set FontSize 20
Set Width 1400
Set Height 1000
Set WindowBar Colorful
Set Margin 40
Set MarginFill "#688E26"
Type ./family-tree add person david
Sleep 700ms
Enter
Sleep 5s
Type ./family-tree add person jane
Sleep 700ms
Enter
Sleep 5s
Type ./family-tree add person john
Sleep 700ms
Enter
Sleep 5s
Type ./family-tree add person marry
Sleep 700ms
Enter
Sleep 5s
Type "./family-tree connect jane --as wife --of david"
Sleep 700ms
Enter
Sleep 5s
Type "./family-tree connect marry --as daughter --of david"
Sleep 700ms
Enter
Sleep 5s
Type "./family-tree connect david --as father --of john"
Sleep 700ms
Enter
Sleep 5s
Type "./family-tree count sons --of david"
Sleep 700ms
Enter
Sleep 5s
Type "./family-tree count daughters --of david"
Sleep 700ms
Enter
Sleep 5s
Type "./family-tree count wives --of david"
Sleep 700ms
Enter
Sleep 5s