summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-03-02 22:22:13 -0500
committerTavian Barnes <tavianator@tavianator.com>2020-03-02 22:22:13 -0500
commit164dbe66355a45b1ac8744b728cd0ebe1320904f (patch)
tree6ec163ddd477eb705effa6ee22108038922d8d99
parent6eeb62ae0b48eb68573b86fb0c2ac9c9438243c5 (diff)
downloadbfs-164dbe66355a45b1ac8744b728cd0ebe1320904f.tar.xz
animation: Add the termtosvg cast data and theme
-rw-r--r--animation.cast56
-rw-r--r--animation_template.svg37
2 files changed, 93 insertions, 0 deletions
diff --git a/animation.cast b/animation.cast
new file mode 100644
index 0000000..1b5d3ec
--- /dev/null
+++ b/animation.cast
@@ -0,0 +1,56 @@
+{"version": 2, "width": 96, "height": 15}
+[0.0, "o", "\u001b[?1h\u001b=\r"]
+[0.0, "o", "Usage: \u001b[01;32mbfs\u001b[0m [\u001b[01;36mflags\u001b[0m...] [\u001b[01;35mpaths\u001b[0m...] [\u001b[01;34mexpression\u001b[0m...]\u001b[m\r\n\u001b[m\r\n\u001b[01;32mbfs\u001b[0m is compatible with \u001b[01;32mfind\u001b[0m, with some extensions. \u001b[01;36mFlags\u001b[0m (\u001b[01;36m-H\u001b[0m/\u001b[01;36m-L\u001b[0m/\u001b[01;36m-P\u001b[0m etc.), \u001b[01;35mpaths\u001b[0m,\u001b[m\r\nand \u001b[01;34mexpressions\u001b[0m may be freely mixed in any order.\u001b[m\r\n\u001b[m\r\n\u001b[01;37mFlags:\u001b[0m\u001b[m\r\n\u001b[m\r\n \u001b[01;36m-H\u001b[0m\u001b[m\r\n Follow symbolic links on the command line, but not while searching\u001b[m\r\n \u001b[01;36m-L\u001b[0m\u001b[m\r\n Follow all symbolic links\u001b[m\r\n \u001b[01;36m-P\u001b[0m\u001b[m\r\n Never follow symbolic links (the default)\u001b[m\r\n \u001b[01;36m-E\u001b[0m\u001b[m\r\n:\u001b[K"]
+[4.0, "o", "\r\u001b[K\u001b[?1l\u001b>"]
+[4.0, "o", "\u001b]0;tavianator@superluminal:~/code/bfs/foo\u0007\u001b[01;37m$\u001b[0m "]
+[4.2, "o", "b"]
+[4.3, "o", "f"]
+[4.4, "o", "\u0008\u0008\u001b[01;32mbfs\u001b[0m"]
+[4.9, "o", "\r\n"]
+[4.9, "o", "\u001b[01;34m.\u001b[0m\r\n\u001b[01;34m./\u001b[0mfile\r\n\u001b[01;34m./\u001b[0m\u001b[01;36mlink\u001b[0m\r\n\u001b[01;34m./\u001b[0m\u001b[01;31marchive.zip\u001b[0m\r\n\u001b[01;34m./\u001b[0m\u001b[01;34mbin\u001b[0m\r\n\u001b[01;34m./\u001b[0m\u001b[01;34msongs\u001b[0m\r\n\u001b[01;34m./\u001b[0m\u001b[01;34mvideos\u001b[0m\r\n"]
+[4.9, "o", "\u001b[01;34m./bin/\u001b[0m\u001b[01;32mprogram\u001b[0m\r\n\u001b[01;34m./bin/\u001b[0m\u001b[01;32mscript.sh\u001b[0m\r\n\u001b[01;34m./songs/\u001b[0m\u001b[00;36msong.mp3\u001b[0m\r\n"]
+[4.9, "o", "\u001b[01;34m./songs/\u001b[0m\u001b[00;36msong.flac\u001b[0m\r\n"]
+[4.9, "o", "\u001b[01;34m./videos/\u001b[0m\u001b[01;35mvideo.mp4\u001b[0m\r\n\u001b[01;34m./videos/\u001b[0m\u001b[01;35mvideo.mkv\u001b[0m\r\n"]
+[4.9, "o", "\u001b]0;tavianator@superluminal:~/code/bfs/foo\u0007\u001b[01;37m$\u001b[0m "]
+[8.9, "o", "b"]
+[9.0, "o", "f"]
+[9.1, "o", "\u0008\u0008\u001b[01;32mbfs\u001b[0m"]
+[9.2, "o", " "]
+[9.4, "o", "\u001b[01;35m-\u001b[0m"]
+[9.5, "o", "\u0008-n"]
+[9.6, "o", "o"]
+[9.7, "o", "\u0008\u0008\u0008\u001b[01;31m-not\u001b[0m"]
+[9.8, "o", " "]
+[10, "o", "\u001b[01;35m-\u001b[0m"]
+[10.1, "o", "\u0008-t"]
+[10.2, "o", "y"]
+[10.3, "o", "p"]
+[10.4, "o", "\u0008\u0008\u0008\u0008\u001b[01;34m-type\u001b[0m"]
+[10.5, "o", " "]
+[10.6, "o", "\u001b[01;37md\u001b[0m"]
+[10.7, "o", " "]
+[10.9, "o", "\u001b[01;35m-\u001b[0m"]
+[11.0, "o", "\u0008-l"]
+[11.1, "o", "\u0008\u0008\u001b[01;34m-ls\u001b[0m"]
+[11.6, "o", "\r\n"]
+[11.6, "o", " 26037588 4 -rw-r----- 1 tavianator users 1337 Mar 2 20:28 \u001b[01;34m./\u001b[0mfile\r\n 26037589 4 lrwxrwxrwx 1 tavianator users 9 Mar 2 20:28 \u001b[01;34m./\u001b[0m\u001b[01;36mlink\u001b[0m -> \u001b[01;34m/dev/\u001b[0m\u001b[40;33;01mnull\u001b[0m\r\n"]
+[11.6, "o", " 26037590 72 -rw-r----- 1 tavianator users 70568 Mar 2 20:28 \u001b[01;34m./\u001b[0m\u001b[01;31marchive.zip\u001b[0m\r\n"]
+[11.6, "o", " 26037594 156 -rwxr-x--- 1 tavianator users 158296 Mar 2 20:28 \u001b[01;34m./bin/\u001b[0m\u001b[01;32mprogram\u001b[0m\r\n"]
+[11.6, "o", " 26037595 56 -rwxr-x--- 1 tavianator users 53753 Mar 2 20:28 \u001b[01;34m./bin/\u001b[0m\u001b[01;32mscript.sh\u001b[0m\r\n"]
+[11.6, "o", " 26037596 4992 -rw-r----- 1 tavianator users 5111174 Mar 2 20:28 \u001b[01;34m./songs/\u001b[0m\u001b[00;36msong.mp3\u001b[0m\r\n"]
+[11.6, "o", " 26037597 25452 -rw-r----- 1 tavianator users 26061823 Mar 2 20:28 \u001b[01;34m./songs/\u001b[0m\u001b[00;36msong.flac\u001b[0m\r\n"]
+[11.6, "o", " 26037598 83676 -rw-r----- 1 tavianator users 85680223 Mar 2 20:28 \u001b[01;34m./videos/\u001b[0m\u001b[01;35mvideo.mp4\u001b[0m\r\n"]
+[11.6, "o", " 26037599 94900 -rw-r----- 1 tavianator users 97175783 Mar 2 20:28 \u001b[01;34m./videos/\u001b[0m\u001b[01;35mvideo.mkv\u001b[0m\r\n"]
+[11.6, "o", "\u001b]0;tavianator@superluminal:~/code/bfs/foo\u0007\u001b[01;37m$\u001b[0m "]
+[15.6, "o", "b"]
+[15.7, "o", "f"]
+[15.8, "o", "\u0008\u0008\u001b[01;32mbfs\u001b[0m"]
+[15.9, "o", " "]
+[16.1, "o", "\u001b[01;35m-\u001b[0m"]
+[16.2, "o", "\u0008-h"]
+[16.2, "o", "e"]
+[16.4, "o", "l"]
+[16.5, "o", "\u0008\u0008\u0008\u0008\u001b[01;34m-help\u001b[0m"]
+[17.0, "o", "\r\n"]
+[17.0, "o", "\u001b[?1h\u001b=\r"]
+[17.0, "o", "Usage: \u001b[01;32mbfs\u001b[0m [\u001b[01;36mflags\u001b[0m...] [\u001b[01;35mpaths\u001b[0m...] [\u001b[01;34mexpression\u001b[0m...]\u001b[m\r\n\u001b[m\r\n\u001b[01;32mbfs\u001b[0m is compatible with \u001b[01;32mfind\u001b[0m, with some extensions. \u001b[01;36mFlags\u001b[0m (\u001b[01;36m-H\u001b[0m/\u001b[01;36m-L\u001b[0m/\u001b[01;36m-P\u001b[0m etc.), \u001b[01;35mpaths\u001b[0m,\u001b[m\r\nand \u001b[01;34mexpressions\u001b[0m may be freely mixed in any order.\u001b[m\r\n\u001b[m\r\n\u001b[01;37mFlags:\u001b[0m\u001b[m\r\n\u001b[m\r\n \u001b[01;36m-H\u001b[0m\u001b[m\r\n Follow symbolic links on the command line, but not while searching\u001b[m\r\n \u001b[01;36m-L\u001b[0m\u001b[m\r\n Follow all symbolic links\u001b[m\r\n \u001b[01;36m-P\u001b[0m\u001b[m\r\n Never follow symbolic links (the default)\u001b[m\r\n \u001b[01;36m-E\u001b[0m\u001b[m\r\n:\u001b[K"]
diff --git a/animation_template.svg b/animation_template.svg
new file mode 100644
index 0000000..54d0ea8
--- /dev/null
+++ b/animation_template.svg
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<svg id="terminal" baseProfile="full" viewBox="0 0 774 263" width="774" version="1.1"
+ xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <defs>
+ <termtosvg:template_settings xmlns:termtosvg="https://github.com/nbedos/termtosvg">
+ <termtosvg:screen_geometry columns="96" rows="15"/>
+ <termtosvg:animation type="css"/>
+ </termtosvg:template_settings>
+ <style type="text/css" id="generated-style">
+ <!-- [snip!] -->
+ </style>
+ <style type="text/css" id="user-style">
+ .foreground { fill: #b2b2b2; }
+ .background { fill: #181818; }
+ .color0 { fill: #181818; }
+ .color1 { fill: #b21818; }
+ .color2 { fill: #18b218; }
+ .color3 { fill: #b26818; }
+ .color4 { fill: #1818b2; }
+ .color5 { fill: #b218b2; }
+ .color6 { fill: #18b2b2; }
+ .color7 { fill: #b2b2b2; }
+ .color8 { fill: #686868; }
+ .color9 { fill: #ff5454; }
+ .color10 { fill: #54ff54; }
+ .color11 { fill: #ffff54; }
+ .color12 { fill: #5454ff; }
+ .color13 { fill: #ff54ff; }
+ .color14 { fill: #54ffff; }
+ .color15 { fill: #ffffff; }
+ </style>
+ </defs>
+ <rect x="0" y="0" width="100%" height="100%" fill="#181818" stroke="#343434" stroke-width="1px" />
+ <svg x="3" y="3" id="screen" width="768" viewBox="0 0 768 257" preserveAspectRatio="xMidYMin meet">
+ <!-- [snip!] -->
+ </svg>
+</svg>