diff options
author | Feuerfuchs <git@feuerfuchs.dev> | 2019-09-28 18:08:18 +0200 |
---|---|---|
committer | Feuerfuchs <git@feuerfuchs.dev> | 2019-09-28 18:08:18 +0200 |
commit | f4754c009d97b963b0c9dfcb55811af795bc0035 (patch) | |
tree | 1c1ed9ce197fd692118f5d19ee0cfa111fe47216 /blobfoxhyperowo.sh | |
parent | new: hyperowo, moved animation offsets into function for reusability (diff) | |
download | blobfox-emojis-f4754c009d97b963b0c9dfcb55811af795bc0035.tar.gz blobfox-emojis-f4754c009d97b963b0c9dfcb55811af795bc0035.tar.bz2 blobfox-emojis-f4754c009d97b963b0c9dfcb55811af795bc0035.zip |
new: hypercofe, generalized hyper script
Diffstat (limited to 'blobfoxhyperowo.sh')
-rwxr-xr-x | blobfoxhyperowo.sh | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/blobfoxhyperowo.sh b/blobfoxhyperowo.sh deleted file mode 100755 index d53b829..0000000 --- a/blobfoxhyperowo.sh +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | source ./shakeoffsets.sh | ||
4 | |||
5 | declare -a shakeOffsets | ||
6 | getShakeOffsets shakeOffsets | ||
7 | |||
8 | |||
9 | mkdir -p export_tmp | ||
10 | rm -f export_tmp/* | ||
11 | |||
12 | |||
13 | counter=1 | ||
14 | while [ $counter -le 75 ] | ||
15 | do | ||
16 | offset=${shakeOffsets[counter-1]} | ||
17 | file=`printf "export_tmp/%s.png" $counter` | ||
18 | inkscape -z -e $file -a $offset "blobfoxhyperowo.svg" | ||
19 | ((counter++)) | ||
20 | done | ||
21 | |||
22 | |||
23 | declare -a args | ||
24 | |||
25 | counter=1 | ||
26 | while [ $counter -le 75 ] | ||
27 | do | ||
28 | file=`printf "export_tmp/%s.png" $counter` | ||
29 | args+=($file 1:50) | ||
30 | ((counter++)) | ||
31 | done | ||
32 | |||
33 | apngasm -o export/ablobfoxhyperowo.png ${args[@]} | ||
34 | rm -f export_tmp/* | ||