summaryrefslogtreecommitdiffstats
path: root/blobfoxhyperowo.sh
diff options
context:
space:
mode:
authorFeuerfuchs <git@feuerfuchs.dev>2019-09-28 17:38:09 +0200
committerFeuerfuchs <git@feuerfuchs.dev>2019-09-28 17:38:09 +0200
commit821ddad7c800f18f6ec962a18a88ff0bf58825aa (patch)
tree97f217f2e579bf0cddfd3d12d44afe8d14697a4b /blobfoxhyperowo.sh
parentnew: boopterrified, cactus, cofemlem, dealwititfingerguns, dundundun* heartcu... (diff)
downloadblobfox-emojis-821ddad7c800f18f6ec962a18a88ff0bf58825aa.tar.gz
blobfox-emojis-821ddad7c800f18f6ec962a18a88ff0bf58825aa.tar.bz2
blobfox-emojis-821ddad7c800f18f6ec962a18a88ff0bf58825aa.zip
new: hyperowo, moved animation offsets into function for reusability
Diffstat (limited to 'blobfoxhyperowo.sh')
-rwxr-xr-xblobfoxhyperowo.sh34
1 files changed, 34 insertions, 0 deletions
diff --git a/blobfoxhyperowo.sh b/blobfoxhyperowo.sh
new file mode 100755
index 0000000..d53b829
--- /dev/null
+++ b/blobfoxhyperowo.sh
@@ -0,0 +1,34 @@
1#!/bin/sh
2
3source ./shakeoffsets.sh
4
5declare -a shakeOffsets
6getShakeOffsets shakeOffsets
7
8
9mkdir -p export_tmp
10rm -f export_tmp/*
11
12
13counter=1
14while [ $counter -le 75 ]
15do
16 offset=${shakeOffsets[counter-1]}
17 file=`printf "export_tmp/%s.png" $counter`
18 inkscape -z -e $file -a $offset "blobfoxhyperowo.svg"
19 ((counter++))
20done
21
22
23declare -a args
24
25counter=1
26while [ $counter -le 75 ]
27do
28 file=`printf "export_tmp/%s.png" $counter`
29 args+=($file 1:50)
30 ((counter++))
31done
32
33apngasm -o export/ablobfoxhyperowo.png ${args[@]}
34rm -f export_tmp/*