aboutsummaryrefslogtreecommitdiff
path: root/conv.sh
diff options
context:
space:
mode:
Diffstat (limited to 'conv.sh')
-rwxr-xr-xconv.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/conv.sh b/conv.sh
new file mode 100755
index 0000000..84c1e23
--- /dev/null
+++ b/conv.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+set -e
+cargo run
+for x in *.dot; do
+ dot -Kneato -T png $x -o $x.png
+ ../resize/target/release/resize $x.png 830 827
+done
+gifski --fast -r 1 -o dcel.gif *.dot.png