Skip to content

Commit 6f0f76b

Browse files
committed
docs: add animated GIF demo for -a flag
Records lolbat -a with vhs, showing live color cycling. Adds Animate section to demo.md between freq comparison and test suite.
1 parent 06b00b2 commit 6f0f76b

3 files changed

Lines changed: 24 additions & 0 deletions

File tree

demo-animate.tape

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Output docs/images/demo-animate.gif
2+
3+
Set Theme "Dracula"
4+
Set FontSize 14
5+
Set Width 700
6+
Set Height 300
7+
Set Framerate 15
8+
Set PlaybackSpeed 1.0
9+
10+
Type "printf 'Painful zombies quickly watch a jinxed graveyard.\nThe five boxing wizards jump quickly.\nHow vexingly quick daft zebras jump.\nPack my box with five dozen liquor jugs.\nThe quick brown fox jumps over the lazy dog.\n' | ./lolbat -a"
11+
Enter
12+
Sleep 4s
13+
Ctrl+C
14+
Sleep 500ms

demo.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,16 @@ printf "..." | lolbat -mode sine -freq 1.0 -spread 2.0
105105

106106
![Freq comparison: -mode sine -freq 0.1 / 0.3 / 0.6 / 1.0](docs/images/demo-freq.svg)
107107

108+
## Animate mode
109+
110+
`-a` loops the output continuously, cycling colors on each pass. Interrupt with Ctrl-C.
111+
112+
```bash
113+
printf "Painful zombies quickly watch a jinxed graveyard.\n..." | lolbat -a
114+
```
115+
116+
![Animate mode: -a flag](docs/images/demo-animate.gif)
117+
108118
## Test suite
109119

110120
```bash

docs/images/demo-animate.gif

1.25 MB
Loading

0 commit comments

Comments
 (0)