-
Notifications
You must be signed in to change notification settings - Fork 255
/
demo2.tape
72 lines (72 loc) · 983 Bytes
/
demo2.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
61
62
63
64
65
66
67
68
69
70
71
72
# This is a vhs script. See https://github.com/charmbracelet/vhs for more info.
# To run this script, install vhs and run `vhs ./examples/demo.tape`
Output "target/demo2.gif"
Set Theme "OceanicMaterial"
# Github social preview size (1280x640 with 80px padding) and must be < 1MB
# This puts some constraints on the amount of interactivity we can do.
Set Width 1280
Set Height 640
Set Padding 80
# Without the padding for README.md, etc.
# Set Width 1120
# Set Height 480
# Set Padding 0
Hide
Type "cargo run --example demo2"
Enter
Sleep 2s
Show
# About screen
Sleep 3.5s
Down # Red eye
Sleep 0.5s
Down # black eye
Sleep 1s
Tab
# Email
Down
Sleep 1s
Down
Sleep 1s
Down
Sleep 1s
Down
Sleep 2s
Tab
# Trace route
Sleep 1s
Down
Sleep 0.5s
Down
Sleep 0.5s
Down
Sleep 0.5s
Down
Sleep 0.5s
Down
Sleep 0.5s
Down
Sleep 0.5s
Down
Sleep 1s
Tab
# Recipe
Sleep 1s
Down
Sleep 0.5s
Down
Sleep 0.5s
Down
Sleep 0.5s
Down
Sleep 0.5s
Down
Sleep 0.5s
Down
Sleep 0.5s
Down
Sleep 1s
Tab
# Misc
Sleep 5s
Tab