diff options
Diffstat (limited to 'blobfoxhyperowo.sh')
-rwxr-xr-x | blobfoxhyperowo.sh | 34 |
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 | |||
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/* | ||