demo time (#27)
This commit is contained in:
BIN
demo/countdown.gif
Normal file
BIN
demo/countdown.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 83 KiB |
33
demo/countdown.tape
Normal file
33
demo/countdown.tape
Normal file
@@ -0,0 +1,33 @@
|
||||
Output demo/countdown.gif
|
||||
|
||||
# https://github.com/charmbracelet/vhs/blob/main/THEMES.md
|
||||
Set Theme "Builtin Solarized Light"
|
||||
|
||||
Set FontSize 14
|
||||
Set Width 800
|
||||
Set Height 400
|
||||
Set Padding 0
|
||||
Set Margin 1
|
||||
|
||||
# --- START ---
|
||||
Set LoopOffset 4
|
||||
Hide
|
||||
Type "cargo run -- -r -d -m c"
|
||||
Enter
|
||||
Sleep 0.2
|
||||
Show
|
||||
# --- COUNTDOWN ---
|
||||
Sleep 1
|
||||
Type "s"
|
||||
Sleep 1.4
|
||||
Type "s"
|
||||
Sleep 0.3
|
||||
Type "s"
|
||||
Sleep 0.3
|
||||
Type "e"
|
||||
Sleep 0.1
|
||||
Down@10ms 65
|
||||
Sleep 0.1
|
||||
Type "e"
|
||||
Sleep 0.1
|
||||
Sleep 3
|
||||
BIN
demo/decis.gif
Normal file
BIN
demo/decis.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
23
demo/decis.tape
Normal file
23
demo/decis.tape
Normal file
@@ -0,0 +1,23 @@
|
||||
Output demo/decis.gif
|
||||
|
||||
# https://github.com/charmbracelet/vhs/blob/main/THEMES.md
|
||||
Set Theme "nord-light"
|
||||
|
||||
Set FontSize 14
|
||||
Set Width 800
|
||||
Set Height 400
|
||||
Set Padding 0
|
||||
Set Margin 1
|
||||
|
||||
# --- START ---
|
||||
Set LoopOffset 4
|
||||
Hide
|
||||
Type "cargo run -- -r -m t"
|
||||
Enter
|
||||
Sleep 0.2
|
||||
Show
|
||||
# --- STYLES ---
|
||||
Type "s"
|
||||
Sleep 0.2
|
||||
Type@0.4s "......."
|
||||
Sleep 0.2
|
||||
BIN
demo/menu.gif
Normal file
BIN
demo/menu.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 106 KiB |
30
demo/menu.tape
Normal file
30
demo/menu.tape
Normal file
@@ -0,0 +1,30 @@
|
||||
Output demo/menu.gif
|
||||
|
||||
# https://github.com/charmbracelet/vhs/blob/main/THEMES.md
|
||||
Set Theme "Apple Classic"
|
||||
|
||||
Set FontSize 14
|
||||
Set Width 800
|
||||
Set Height 400
|
||||
Set Padding 0
|
||||
Set Margin 1
|
||||
|
||||
# --- START ---
|
||||
Set LoopOffset 4
|
||||
Hide
|
||||
Type "cargo run -- -r -m p"
|
||||
Enter
|
||||
Sleep 0.2
|
||||
Show
|
||||
# --- STYLES ---
|
||||
Sleep 0.5
|
||||
Type "m"
|
||||
Sleep 0.5
|
||||
Type@0.5s "t"
|
||||
Type@0.5s "c"
|
||||
Type@0.5s "p"
|
||||
Type@0.5s "e"
|
||||
Right@0.5s
|
||||
Left@0.5s
|
||||
Type@0.5s "e"
|
||||
Sleep 0.5
|
||||
BIN
demo/pomodoro.gif
Normal file
BIN
demo/pomodoro.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 166 KiB |
39
demo/pomodoro.tape
Normal file
39
demo/pomodoro.tape
Normal file
@@ -0,0 +1,39 @@
|
||||
Output demo/pomodoro.gif
|
||||
|
||||
# https://github.com/charmbracelet/vhs/blob/main/THEMES.md
|
||||
Set Theme "Catppuccin Frappe"
|
||||
|
||||
Set FontSize 14
|
||||
Set Width 800
|
||||
Set Height 400
|
||||
Set Padding 0
|
||||
Set Margin 1
|
||||
|
||||
# --- START ---
|
||||
Set LoopOffset 4
|
||||
Hide
|
||||
Type "cargo run -- -r -d -m p"
|
||||
Enter
|
||||
Sleep 0.2
|
||||
Show
|
||||
# --- POMODORO WORK ---
|
||||
Sleep 1
|
||||
Type "s"
|
||||
Sleep 2.3
|
||||
Type "e"
|
||||
Sleep 0.2
|
||||
Down@30ms 80
|
||||
Sleep 100ms
|
||||
Type "e"
|
||||
Sleep 3
|
||||
# --- POMODORO PAUSE ---
|
||||
Right
|
||||
Sleep 0.5
|
||||
Type "s"
|
||||
Sleep 2.3
|
||||
Type "e"
|
||||
Sleep 0.2
|
||||
Down@30ms 60
|
||||
Sleep 100ms
|
||||
Type "e"
|
||||
Sleep 3
|
||||
BIN
demo/style.gif
Normal file
BIN
demo/style.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 139 KiB |
24
demo/style.tape
Normal file
24
demo/style.tape
Normal file
@@ -0,0 +1,24 @@
|
||||
Output demo/style.gif
|
||||
|
||||
# https://github.com/charmbracelet/vhs/blob/main/THEMES.md
|
||||
Set Theme "OneDark"
|
||||
|
||||
Set FontSize 14
|
||||
Set Width 800
|
||||
Set Height 400
|
||||
Set Padding 0
|
||||
Set Margin 1
|
||||
|
||||
# --- START ---
|
||||
Set LoopOffset 4
|
||||
Hide
|
||||
Type "cargo run -- -r -d -m c"
|
||||
Enter
|
||||
Sleep 0.2
|
||||
Show
|
||||
# --- STYLES ---
|
||||
Sleep 0.5
|
||||
Type "s"
|
||||
Sleep 0.5
|
||||
Type@0.7s ",,,,,,"
|
||||
Sleep 1
|
||||
BIN
demo/timer.gif
Normal file
BIN
demo/timer.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 64 KiB |
31
demo/timer.tape
Normal file
31
demo/timer.tape
Normal file
@@ -0,0 +1,31 @@
|
||||
Output demo/timer.gif
|
||||
|
||||
# https://github.com/charmbracelet/vhs/blob/main/THEMES.md
|
||||
Set Theme "Belafonte Day"
|
||||
|
||||
Set FontSize 14
|
||||
Set Width 800
|
||||
Set Height 400
|
||||
Set Padding 0
|
||||
Set Margin 1
|
||||
|
||||
# --- START ---
|
||||
Set LoopOffset 4
|
||||
Hide
|
||||
Type "cargo run -- -r -d -m t"
|
||||
Enter
|
||||
Sleep 0.2
|
||||
Show
|
||||
# --- TIMER ---
|
||||
Type "s"
|
||||
Sleep 1.4
|
||||
Type "s"
|
||||
Sleep 0.3
|
||||
Type "s"
|
||||
Sleep 0.3
|
||||
Type "e"
|
||||
Sleep 0.2
|
||||
Up@30ms 57
|
||||
Sleep 0.7
|
||||
Type "e"
|
||||
Sleep 4
|
||||
Reference in New Issue
Block a user