You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
559 B
35 lines
559 B
5 years ago
|
#!/bin/sh
|
||
|
|
||
|
source ./shakeoffsets.sh
|
||
|
|
||
|
declare -a shakeOffsets
|
||
|
getShakeOffsets shakeOffsets
|
||
|
|
||
|
|
||
|
mkdir -p export_tmp
|
||
|
rm -f export_tmp/*
|
||
|
|
||
|
|
||
|
counter=1
|
||
|
while [ $counter -le 75 ]
|
||
|
do
|
||
|
offset=${shakeOffsets[counter-1]}
|
||
|
file=`printf "export_tmp/%s.png" $counter`
|
||
|
inkscape -z -e $file -a $offset "blobfoxhyperowo.svg"
|
||
|
((counter++))
|
||
|
done
|
||
|
|
||
|
|
||
|
declare -a args
|
||
|
|
||
|
counter=1
|
||
|
while [ $counter -le 75 ]
|
||
|
do
|
||
|
file=`printf "export_tmp/%s.png" $counter`
|
||
|
args+=($file 1:50)
|
||
|
((counter++))
|
||
|
done
|
||
|
|
||
|
apngasm -o export/ablobfoxhyperowo.png ${args[@]}
|
||
|
rm -f export_tmp/*
|