chore: update casts and support scripts

This commit is contained in:
Edward Langley
2026-04-09 15:23:21 -07:00
parent 21a5ea9d55
commit 4583b59520
6 changed files with 2280 additions and 2686 deletions

View File

@ -1,11 +1,11 @@
# improvise demo — pivot axis reassignment
# improvise demo — formulas, command mode, drill, records, and axis reassignment
# Run: nix develop --command vhs docs/demo.tape
Output docs/demo.gif
Set FontSize 14
Set Width 1200
Set Height 650
Set Width 1440
Set Height 800
Set Theme "Dracula"
# Hide the shell prompt and startup
@ -15,39 +15,91 @@ Enter
Sleep 2s
Show
# Show the initial pivot: Product×Region on rows, Date_Month×Measure on columns
# Show the initial pivot view
Sleep 2s
# Enter tile mode
# Prune empty rows for a cleaner view
Type "P"
Sleep 2s
# Open formula panel — show existing Profit formula
Type "F"
Sleep 2s
# Add a Margin formula
Type "n"
Sleep 500ms
Type "Margin = 100 * Profit / Revenue"
Sleep 1s
Enter
Sleep 2s
# Close formula panel
Escape
Sleep 2s
# Use command mode to hide Date_Month (collapse time dimension)
Type ":"
Sleep 800ms
Type "set-axis Date_Month none"
Sleep 1500ms
Enter
Sleep 2s
# Drill into a Revenue cell to see individual records
# Navigate down to a row with data
Type "jjj"
Sleep 500ms
# Drill
Type ">"
Sleep 2s
# Browse the drill records
Type "jj"
Sleep 1s
# Go back
Type "<"
Sleep 2s
# Toggle records mode to see flat record view
Type "R"
Sleep 2s
# Scroll through records
Type "jjjjj"
Sleep 1s
# Back to pivot mode
Type "R"
Sleep 2s
# Enter tile mode to reassign axes
Type "T"
Sleep 1s
# Navigate to Region tile (index 5: _Index, _Dim, Customer, Date, Product, Region)
# Navigate to Region tile
Type "lllll"
Sleep 800ms
# Move Region from Row to Column axis
# Move Region from Row to Column
Type "c"
Sleep 2s
# Navigate back to Customer tile (index 2)
# Navigate back to Customer tile
Type "hhh"
Sleep 600ms
# Move Customer from Page to Row axis
# Move Customer from Page to Row
Type "r"
Sleep 2s
# Exit tile mode
Escape
Sleep 1500ms
# Transpose to show another arrangement
Type "t"
Sleep 2s
# Quit without recording the exit
Hide
Type ":q"
Type ":q!"
Enter
Sleep 500ms