From 821ddad7c800f18f6ec962a18a88ff0bf58825aa Mon Sep 17 00:00:00 2001 From: Feuerfuchs Date: Sat, 28 Sep 2019 17:38:09 +0200 Subject: new: hyperowo, moved animation offsets into function for reusability --- blobfoxhyperowo.sh | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 blobfoxhyperowo.sh (limited to 'blobfoxhyperowo.sh') diff --git a/blobfoxhyperowo.sh b/blobfoxhyperowo.sh new file mode 100755 index 0000000..d53b829 --- /dev/null +++ b/blobfoxhyperowo.sh @@ -0,0 +1,34 @@ +#!/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/* -- cgit v1.2.3-54-g00ecf