From 9734c8546119a5b482d1b76d22e745a7653d05d7 Mon Sep 17 00:00:00 2001 From: Feuerfuchs Date: Mon, 30 Sep 2019 14:46:21 +0200 Subject: Added a-dundundunowo --- ablobfoxdundundunowo1.svg | 256 ++++++++++++++++++++++++++++++++++++++++++++++ ablobfoxdundundunowo2.svg | 256 ++++++++++++++++++++++++++++++++++++++++++++++ ablobfoxdundundunowo3.svg | 256 ++++++++++++++++++++++++++++++++++++++++++++++ ablobfoxdundundunowo4.svg | 256 ++++++++++++++++++++++++++++++++++++++++++++++ blobfoxdundundun.sh | 42 -------- dundundun.sh | 46 +++++++++ gen.sh | 5 +- 7 files changed, 1073 insertions(+), 44 deletions(-) create mode 100644 ablobfoxdundundunowo1.svg create mode 100644 ablobfoxdundundunowo2.svg create mode 100644 ablobfoxdundundunowo3.svg create mode 100644 ablobfoxdundundunowo4.svg delete mode 100755 blobfoxdundundun.sh create mode 100755 dundundun.sh diff --git a/ablobfoxdundundunowo1.svg b/ablobfoxdundundunowo1.svg new file mode 100644 index 0000000..1b7d76b --- /dev/null +++ b/ablobfoxdundundunowo1.svg @@ -0,0 +1,256 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ablobfoxdundundunowo2.svg b/ablobfoxdundundunowo2.svg new file mode 100644 index 0000000..cdbfe70 --- /dev/null +++ b/ablobfoxdundundunowo2.svg @@ -0,0 +1,256 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ablobfoxdundundunowo3.svg b/ablobfoxdundundunowo3.svg new file mode 100644 index 0000000..ac9afb9 --- /dev/null +++ b/ablobfoxdundundunowo3.svg @@ -0,0 +1,256 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ablobfoxdundundunowo4.svg b/ablobfoxdundundunowo4.svg new file mode 100644 index 0000000..b161990 --- /dev/null +++ b/ablobfoxdundundunowo4.svg @@ -0,0 +1,256 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/blobfoxdundundun.sh b/blobfoxdundundun.sh deleted file mode 100755 index f0c23e0..0000000 --- a/blobfoxdundundun.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/sh - -source ./shakeoffsets.sh - -declare -a shakeOffsets -getShakeOffsets shakeOffsets - - -mkdir -p export_tmp -rm -f export_tmp/* - - -inkscape -z -e "export_tmp/1.png" "ablobfoxdundundun1.svg" -inkscape -z -e "export_tmp/2.png" "ablobfoxdundundun2.svg" -inkscape -z -e "export_tmp/3.png" "ablobfoxdundundun3.svg" -inkscape -z -e "export_tmp/4.png" "ablobfoxdundundun4.svg" - -counter=5 -while [ $counter -le 79 ] -do - offset=${shakeOffsets[counter-5]} - file=`printf "export_tmp/%s.png" $counter` - inkscape -z -e $file -a $offset "ablobfoxdundundun4.svg" - ((counter++)) -done - - -declare -a args -args+=(export_tmp/1.png 50:50) -args+=(export_tmp/2.png 12:50) -args+=(export_tmp/3.png 12:50) - -counter=4 -while [ $counter -le 79 ] -do - file=`printf "export_tmp/%s.png" $counter` - args+=($file 1:50) - ((counter++)) -done - -apngasm -o export/ablobfoxdundundun.png ${args[@]} -rm -f export_tmp/* diff --git a/dundundun.sh b/dundundun.sh new file mode 100755 index 0000000..e3e93e5 --- /dev/null +++ b/dundundun.sh @@ -0,0 +1,46 @@ +#!/bin/sh + +source ./shakeoffsets.sh + +declare -a shakeOffsets +getShakeOffsets shakeOffsets + +SOURCEBASE=$1 +SOURCESVG=`printf "%s.svg" $SOURCEBASE` +TARGETSVG=`printf "export/%s.png" $SOURCEBASE` + +mkdir -p export_tmp +rm -f export_tmp/* + + +inkscape -z -e "export_tmp/1.png" `printf "%s1.png" $SOURCEBASE` +inkscape -z -e "export_tmp/2.png" `printf "%s2.png" $SOURCEBASE` +inkscape -z -e "export_tmp/3.png" `printf "%s3.png" $SOURCEBASE` +inkscape -z -e "export_tmp/4.png" `printf "%s4.png" $SOURCEBASE` + +counter=5 +while [ $counter -le 79 ] +do + offset=${shakeOffsets[counter-5]} + file=`printf "export_tmp/%s.png" $counter` + source=`printf "%s4.png" $SOURCEBASE` + inkscape -z -e $file -a $offset $source + ((counter++)) +done + + +declare -a args +args+=(export_tmp/1.png 50:50) +args+=(export_tmp/2.png 12:50) +args+=(export_tmp/3.png 12:50) + +counter=4 +while [ $counter -le 79 ] +do + file=`printf "export_tmp/%s.png" $counter` + args+=($file 1:50) + ((counter++)) +done + +apngasm -o $TARGETSVG ${args[@]} +rm -f export_tmp/* diff --git a/gen.sh b/gen.sh index 02e2f7e..88e1c2d 100755 --- a/gen.sh +++ b/gen.sh @@ -7,7 +7,8 @@ mkdir -p export_flip rm -f export_flip/* find . -type f \( -iname "*.svg" ! -iname ".*" ! -iname "a*" \) -print0 | parallel -0 'x={.}; inkscape -z -e "export/${x#./}.png" "{}"' {} \; -./blobfoxdundundun.sh +./dundundun.sh ablobfoxdundundun +./dundundun.sh ablobfoxdundundunowo ./hyperize.sh ablobfoxhyperowo ./hyperize.sh ablobfoxhypercofe ./hyperize.sh ablobfoxhyperthinking @@ -29,7 +30,7 @@ CHECKSUM=`sha256sum -z blobfox.zip | awk '{ print $1 }'` cd ../export_flip -rm blobfoxsign*.png blobfoxconfused.png blobfoxbreadsnoot*.png +rm blobfoxsign*.png blobfoxconfused.png blobfoxbreadsnoot*.png blobfoxsleep.png find . -type f -iname '*.png' -exec sh -c 'x=${0#./}; mv $x rev$x' {} \; mogrify -flop *.png FILELIST=`find . -type f -iname '*.png' -exec sh -c 'x=${0#./}; printf "%s:%s|" ${x%.png} $x' {} \;` -- cgit v1.2.3-54-g00ecf