Skip to content

Commit

Permalink
new install gif
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Mar 8, 2024
1 parent 514830a commit 60d4eb0
Show file tree
Hide file tree
Showing 5 changed files with 561 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
+ ·
```

![install](img/install.gif)
![install](img/hind.gif)



Expand Down
17 changes: 17 additions & 0 deletions img/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# nice way to make small gifs :)

```sh
brew install asciinema agg

asciinema rec hind.cast

# manually chopped out a lot of delay lines in `hind.cast`, then:

cat hind.cast |perl -ne 'chop; print unless m/^\[([\d\.]+)(.*)$/; $x=$1; $x-=20 if ($x>86); $x-=7 if ($x>62); $x-=36.5 if ($x>50); $x-=3 if ($x>7.3); print "[$x$2\n";' >| short.cast

# then remove trailing `[` on top line
# I also did just a bit of manual finesse ;-)
# updated the "width" topline

agg --theme asciinema --speed 1.1 short.cast hind.gif
```
Loading

0 comments on commit 60d4eb0

Please sign in to comment.