aboutsummaryrefslogtreecommitdiff
path: root/conv.sh
diff options
context:
space:
mode:
authorCharlotte Pabst <charlotte.pabst@stud.tu-darmstadt.de>2024-01-18 03:22:49 +0100
committerCharlotte Pabst <charlotte.pabst@stud.tu-darmstadt.de>2024-03-24 17:19:53 +0100
commited18e4642d463658ff03f4dae4cfe644adce601a (patch)
tree57693678a5d5825a6117dcd7f201048a1877c213 /conv.sh
parent3ab30ff24a8d56c2286c48173b1eeae97592bb3e (diff)
downloaddcel-ed18e4642d463658ff03f4dae4cfe644adce601a.tar.xz
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