Skip to content

Commit 73a0560

Browse files
Move demo captions into tape files
1 parent ff49420 commit 73a0560

6 files changed

Lines changed: 333 additions & 28 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ make demo-all
8686

8787
Individual tape variants are also available, for example `make demo-stack-dark` or `make demo-dll-light`. Generated `.mp4` files are written to `demos/`.
8888

89+
For maintenance details about timing, caption placement, and caption wording, see:
90+
- `docs/DemoVideoMaintenance.md`
91+
8992
## All Valid Targets
9093

9194
| Target | Description |

‎demos/stack-dark.tape‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,85 +21,104 @@ Enter
2121
Sleep 10s
2222

2323
# ── Build stack: 10 at bottom, 50 at top ────────────────────────────────────
24+
# CAPTION: Push 5 values onto the stack
2425
Type "/push 10 20 30 40 50"
2526
Enter
2627
Sleep 2s
2728

2829
# ── Inspect ─────────────────────────────────────────────────────────────────
30+
# CAPTION: Peek at the top value
2931
Type "/peek"
3032
Enter
3133
Sleep 1.5s
3234

35+
# CAPTION: Inspect the top stack position
3336
Type "/at 0"
3437
Enter
3538
Sleep 1.5s
3639

40+
# CAPTION: Inspect a deeper stack position
3741
Type "/at 2"
3842
Enter
3943
Sleep 1.5s
4044

4145
# ── Stack manipulation ───────────────────────────────────────────────────────
46+
# CAPTION: Duplicate the top value
4247
Type "/dup"
4348
Enter
4449
Sleep 2s
4550

51+
# CAPTION: Pop the top value
4652
Type "/pop"
4753
Enter
4854
Sleep 1.5s
4955

56+
# CAPTION: Swap the top two values
5057
Type "/swap"
5158
Enter
5259
Sleep 2s
5360

61+
# CAPTION: Rotate the top three values
5462
Type "/rotate"
5563
Enter
5664
Sleep 2s
5765

5866
# ── Pop a couple ─────────────────────────────────────────────────────────────
67+
# CAPTION: Pop the top value again
5968
Type "/pop"
6069
Enter
6170
Sleep 1.5s
6271

72+
# CAPTION: Pop one more value
6373
Type "/pop"
6474
Enter
6575
Sleep 1.5s
6676

6777
# ── Undo / redo ─────────────────────────────────────────────────────────────
78+
# CAPTION: Undo the previous change
6879
Type "/undo"
6980
Enter
7081
Sleep 1.5s
7182

83+
# CAPTION: Undo one more change
7284
Type "/undo"
7385
Enter
7486
Sleep 1.5s
7587

88+
# CAPTION: Redo the last undone change
7689
Type "/redo"
7790
Enter
7891
Sleep 1.5s
7992

8093
# ── Save current state ───────────────────────────────────────────────────────
94+
# CAPTION: Save the current stack session
8195
Type "/save /tmp/stack-demo.json"
8296
Enter
8397
Sleep 1.5s
8498

8599
# ── Switch to strings and generate random values ─────────────────────────────
100+
# CAPTION: Clear the stack
86101
Type "/clear"
87102
Enter
88103
Sleep 1s
89104

105+
# CAPTION: Switch the stack to string values
90106
Type "/type str"
91107
Enter
92108
Sleep 1s
93109

110+
# CAPTION: Generate 5 random string values
94111
Type "/random 5"
95112
Enter
96113
Sleep 2s
97114

98115
# ── Load the saved int session back ─────────────────────────────────────────
116+
# CAPTION: Clear before loading the saved session
99117
Type "/clear"
100118
Enter
101119
Sleep 1s
102120

121+
# CAPTION: Load the saved integer session
103122
Type "/load /tmp/stack-demo.json"
104123
Enter
105124
Sleep 2s

‎demos/stack-light.tape‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,85 +21,104 @@ Enter
2121
Sleep 10s
2222

2323
# ── Build stack: 10 at bottom, 50 at top ────────────────────────────────────
24+
# CAPTION: Push 5 values onto the stack
2425
Type "/push 10 20 30 40 50"
2526
Enter
2627
Sleep 2s
2728

2829
# ── Inspect ─────────────────────────────────────────────────────────────────
30+
# CAPTION: Peek at the top value
2931
Type "/peek"
3032
Enter
3133
Sleep 1.5s
3234

35+
# CAPTION: Inspect the top stack position
3336
Type "/at 0"
3437
Enter
3538
Sleep 1.5s
3639

40+
# CAPTION: Inspect a deeper stack position
3741
Type "/at 2"
3842
Enter
3943
Sleep 1.5s
4044

4145
# ── Stack manipulation ───────────────────────────────────────────────────────
46+
# CAPTION: Duplicate the top value
4247
Type "/dup"
4348
Enter
4449
Sleep 2s
4550

51+
# CAPTION: Pop the top value
4652
Type "/pop"
4753
Enter
4854
Sleep 1.5s
4955

56+
# CAPTION: Swap the top two values
5057
Type "/swap"
5158
Enter
5259
Sleep 2s
5360

61+
# CAPTION: Rotate the top three values
5462
Type "/rotate"
5563
Enter
5664
Sleep 2s
5765

5866
# ── Pop a couple ─────────────────────────────────────────────────────────────
67+
# CAPTION: Pop the top value again
5968
Type "/pop"
6069
Enter
6170
Sleep 1.5s
6271

72+
# CAPTION: Pop one more value
6373
Type "/pop"
6474
Enter
6575
Sleep 1.5s
6676

6777
# ── Undo / redo ─────────────────────────────────────────────────────────────
78+
# CAPTION: Undo the previous change
6879
Type "/undo"
6980
Enter
7081
Sleep 1.5s
7182

83+
# CAPTION: Undo one more change
7284
Type "/undo"
7385
Enter
7486
Sleep 1.5s
7587

88+
# CAPTION: Redo the last undone change
7689
Type "/redo"
7790
Enter
7891
Sleep 1.5s
7992

8093
# ── Save current state ───────────────────────────────────────────────────────
94+
# CAPTION: Save the current stack session
8195
Type "/save /tmp/stack-demo.json"
8296
Enter
8397
Sleep 1.5s
8498

8599
# ── Switch to strings and generate random values ─────────────────────────────
100+
# CAPTION: Clear the stack
86101
Type "/clear"
87102
Enter
88103
Sleep 1s
89104

105+
# CAPTION: Switch the stack to string values
90106
Type "/type str"
91107
Enter
92108
Sleep 1s
93109

110+
# CAPTION: Generate 5 random string values
94111
Type "/random 5"
95112
Enter
96113
Sleep 2s
97114

98115
# ── Load the saved int session back ─────────────────────────────────────────
116+
# CAPTION: Clear before loading the saved session
99117
Type "/clear"
100118
Enter
101119
Sleep 1s
102120

121+
# CAPTION: Load the saved integer session
103122
Type "/load /tmp/stack-demo.json"
104123
Enter
105124
Sleep 2s

0 commit comments

Comments
 (0)