Skip to content

Commit

Permalink
new demo anim GIF
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Mar 14, 2024
1 parent eb6094e commit 6b4a017
Show file tree
Hide file tree
Showing 4 changed files with 359 additions and 544 deletions.
2 changes: 1 addition & 1 deletion img/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ 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
cat hind.cast |perl -ne 'chop; print unless m/^\[([\d\.]+)(.*)$/; $x=$1; $x-=8 if ($x>132); $x-=6 if ($x>120); $x-=30 if ($x>75); $x-=45 if ($x>69); $x-=21.5 if ($x>20); print "[$x$2\n";' >| short.cast

# then remove trailing `[` on top line
# I also did just a bit of manual finesse ;-)
Expand Down
Loading

0 comments on commit 6b4a017

Please sign in to comment.