Skip to content

Commit 5bc0a97

Browse files
committed
Add samplet tape
1 parent 8aeeaf9 commit 5bc0a97

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

sample.tape

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Where should we write the GIF?
2+
Output demo.gif
3+
4+
# Set up a 1200x600 terminal with 46px font.
5+
Set FontSize 46
6+
Set Width 1200
7+
Set Height 600
8+
9+
Set TypingSpeed 0.1
10+
Type "100ms delay per character"
11+
Type@500ms "500ms delay per character"
12+
13+
# Type a command in the terminal.
14+
Type@100ms "echo 'Welcome to VHS!'"
15+
16+
# Pause for dramatic effect...
17+
Sleep 500ms
18+
19+
# Run the command by pressing enter.
20+
Enter
21+
22+
Set Theme { "name": "Whimsy", "black": "#535178", "red": "#ef6487", "green": "#5eca89", "yellow": "#fdd877", "blue": "#65aef7", "purple": "#aa7ff0", "cyan": "#43c1be", "white": "#ffffff", "brightBlack": "#535178", "brightRed": "#ef6487", "brightGreen": "#5eca89", "brightYellow": "#fdd877", "brightBlue": "#65aef7", "brightPurple": "#aa7ff0", "brightCyan": "#43c1be", "brightWhite": "#ffffff", "background": "#29283b", "foreground": "#b3b0d6", "selectionBackground": "#3d3c58", "cursorColor": "#b3b0d6" }
23+
24+
# Admire the output for a bit.
25+
Sleep 5s
26+
27+
Ctrl+A

0 commit comments

Comments
 (0)