"a" prefix for animated files, improved (pre)lurk*

master
Feuerfuchs 5 years ago
parent 12117e8ab8
commit dae496e28b
No known key found for this signature in database
GPG Key ID: 9953BC7CB26FB049

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

@ -0,0 +1,35 @@
#!/bin/sh
SOURCEBASE=$1
MAX=$2
DELAY=$3
SOURCESVG=`printf "%s.svg" $SOURCEBASE`
TARGETSVG=`printf "export/%s.png" $SOURCEBASE`
mkdir -p export_tmp
rm -f export_tmp/*
counter=1
while [ $counter -le $MAX ]
do
source=`printf "%s%s.svg" $SOURCEBASE $counter`
file=`printf "export_tmp/%s.png" $counter`
inkscape -z -e $file $source
((counter++))
done
declare -a args
counter=1
while [ $counter -le $MAX ]
do
file=`printf "export_tmp/%s.png" $counter`
args+=($file $DELAY)
((counter++))
done
apngasm -o $TARGETSVG ${args[@]}
rm -f export_tmp/*

@ -10,17 +10,17 @@ mkdir -p export_tmp
rm -f export_tmp/*
inkscape -z -e "export_tmp/1.png" "blobfoxdundundun1.svg"
inkscape -z -e "export_tmp/2.png" "blobfoxdundundun2.svg"
inkscape -z -e "export_tmp/3.png" "blobfoxdundundun3.svg"
inkscape -z -e "export_tmp/4.png" "blobfoxdundundun4.svg"
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 "blobfoxdundundun4.svg"
inkscape -z -e $file -a $offset "ablobfoxdundundun4.svg"
((counter++))
done

@ -407,8 +407,8 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.8"
inkscape:cx="-320.60515"
inkscape:cy="61.509305"
inkscape:cx="-176.14086"
inkscape:cy="74.366448"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
@ -519,7 +519,7 @@
inkscape:connector-curvature="0"
id="path4957"
d="m 26.911905,104.15164 127.999995,9.9437 v 13.87371 H 26.911905 Z"
style="display:inline;opacity:0.5;fill:#f5f8fa;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill" />
style="display:inline;opacity:1;fill:#f5f8fa;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill" />
<path
inkscape:connector-curvature="0"
style="display:inline;opacity:1;fill:#313131;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.50000012;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill"

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB

@ -406,9 +406,9 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.98994949"
inkscape:cx="-484.59336"
inkscape:cy="141.07734"
inkscape:zoom="3.959798"
inkscape:cx="-112.21341"
inkscape:cy="45.415993"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
@ -431,7 +431,7 @@
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
@ -545,7 +545,7 @@
inkscape:connector-curvature="0"
id="path4957"
d="m 26.911905,104.15164 127.999995,9.9437 v 13.87371 H 26.911905 Z"
style="display:inline;opacity:0.5;fill:#f5f8fa;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill" />
style="display:inline;opacity:1;fill:#f5f8fa;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill" />
<path
inkscape:connector-curvature="0"
style="display:inline;opacity:1;fill:#313131;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.50000012;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill"

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

@ -267,7 +267,7 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="7.919596"
inkscape:cx="-19.10329"
inkscape:cx="-59.825064"
inkscape:cy="34.852615"
inkscape:document-units="px"
inkscape:current-layer="layer1"
@ -432,7 +432,7 @@
inkscape:connector-curvature="0"
id="path4957"
d="m 26.911905,104.15165 127.999995,9.94369 v 13.87371 H 26.911905 Z"
style="display:inline;opacity:0.5;fill:#f5f8fa;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill" />
style="display:inline;opacity:1;fill:#f5f8fa;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill" />
<path
inkscape:connector-curvature="0"
style="display:inline;opacity:1;fill:#313131;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.50000012;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill"

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

@ -263,8 +263,8 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.8"
inkscape:cx="-282.27402"
inkscape:cy="98.285311"
inkscape:cx="-82.452591"
inkscape:cy="13.999597"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
@ -368,7 +368,7 @@
inkscape:connector-curvature="0"
id="path4957"
d="m 26.911905,104.15165 128.000005,9.94369 v 13.87371 H 26.911905 Z"
style="opacity:0.5;fill:#f5f8fa;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill" />
style="opacity:1;fill:#f5f8fa;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill" />
<path
style="opacity:1;fill:#313131;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.79999995;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers stroke fill"
d="m 85.869259,96.276847 c 0.11393,1.43035 -5.957905,6.772503 -8.408463,6.661903 -2.640097,-0.11917 -6.500044,-6.315403 -6.087614,-7.687233 1.047059,-3.48275 14.182208,-2.91548 14.496077,1.02533 z"

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 100 KiB

@ -219,7 +219,7 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="3.959798"
inkscape:cx="-105.30486"
inkscape:cx="-186.74841"
inkscape:cy="54.087572"
inkscape:document-units="px"
inkscape:current-layer="layer1"
@ -365,7 +365,7 @@
inkscape:connector-curvature="0"
id="path4957"
d="m 26.911905,104.15165 127.999995,9.94369 v 13.87371 H 26.911905 Z"
style="display:inline;opacity:0.5;fill:#f5f8fa;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill" />
style="display:inline;opacity:1;fill:#f5f8fa;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill" />
<path
inkscape:connector-curvature="0"
style="display:inline;opacity:1;fill:#313131;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.50000012;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill"

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

@ -262,9 +262,9 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="11.2"
inkscape:cx="70.814694"
inkscape:cy="11.121417"
inkscape:zoom="2.8"
inkscape:cx="51.824868"
inkscape:cy="-24.011201"
inkscape:document-units="px"
inkscape:current-layer="layer3"
showgrid="false"
@ -314,7 +314,7 @@
transform="translate(-26.911905,0.03095311)"
style="display:inline">
<path
style="opacity:0.5;fill:#f5f8fa;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill"
style="opacity:1;fill:#f5f8fa;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill"
d="m 26.911905,92.049047 128.000005,9.943693 v 25.97631 H 26.911905 Z"
id="rect4948"
inkscape:connector-curvature="0"

Before

Width:  |  Height:  |  Size: 93 KiB

After

Width:  |  Height:  |  Size: 93 KiB

@ -981,8 +981,8 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="4"
inkscape:cx="68.076907"
inkscape:cy="31.638448"
inkscape:cx="189.45191"
inkscape:cy="54.888448"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
@ -1009,7 +1009,7 @@
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
@ -1032,7 +1032,7 @@
transform="translate(-26.911905,0.03095311)"
style="display:inline">
<path
style="opacity:0.5;fill:#f5f8fa;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill"
style="opacity:1;fill:#f5f8fa;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill"
d="m 26.911905,92.049047 128.000005,9.943693 v 25.97631 H 26.911905 Z"
id="rect4948"
inkscape:connector-curvature="0"

Before

Width:  |  Height:  |  Size: 165 KiB

After

Width:  |  Height:  |  Size: 165 KiB

@ -639,9 +639,9 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2"
inkscape:cx="33.840941"
inkscape:cy="157.77845"
inkscape:zoom="5.6568542"
inkscape:cx="34.181711"
inkscape:cy="36.012814"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
@ -691,7 +691,7 @@
transform="translate(-26.911905,0.03095311)"
style="display:inline">
<path
style="opacity:0.5;fill:#f5f8fa;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill"
style="opacity:1;fill:#f5f8fa;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill"
d="m 26.911905,92.049047 128.000005,9.943693 v 25.97631 H 26.911905 Z"
id="rect4948"
inkscape:connector-curvature="0"

Before

Width:  |  Height:  |  Size: 132 KiB

After

Width:  |  Height:  |  Size: 132 KiB

@ -6,18 +6,18 @@ rm -f export/*
mkdir -p export_flip
rm -f export_flip/*
find . -type f \( -iname "*.svg" ! -iname ".*" \) -print0 | parallel -0 'x={.}; inkscape -z -e "export/${x#./}.png" "{}"' {} \;
find . -type f \( -iname "*.svg" ! -iname ".*" ! -iname "a*" \) -print0 | parallel -0 'x={.}; inkscape -z -e "export/${x#./}.png" "{}"' {} \;
./blobfoxdundundun.sh
./hyperize.sh blobfoxhyperowo
./hyperize.sh blobfoxhypercofe
./hyperize.sh blobfoxhyperthinking
./hyperize.sh ablobfoxhyperowo
./hyperize.sh ablobfoxhypercofe
./hyperize.sh ablobfoxhyperthinking
./animate.sh ablobfoxhyper 3 2:100
cp LICENSE export/
cd export
apngasm -o ablobfoxbongo.png blobfoxbongo.png 100 blobfoxbongostart.png 100
apngasm -o ablobfoxhyper.png blobfoxhyper1.png 2:100 blobfoxhyper2.png 2:100 blobfoxhyper3.png 2:100
rm blobfoxhyper1.png blobfoxhyper2.png blobfoxhyper3.png blobfoxhyperowo.png blobfoxhypercofe.png blobfoxhyperthinking.png
cp ./blobfox* ../export_flip/
cp ./LICENSE ../export_flip/
FILELIST=`find . -type f -iname '*.png' -exec sh -c 'x=${0#./}; printf "%s:%s|" ${x%.png} $x' {} \;`

@ -7,7 +7,7 @@ getShakeOffsets shakeOffsets
SOURCEBASE=$1
SOURCESVG=`printf "%s.svg" $SOURCEBASE`
TARGETSVG=`printf "export/a%s.png" $SOURCEBASE`
TARGETSVG=`printf "export/%s.png" $SOURCEBASE`
mkdir -p export_tmp

Loading…
Cancel
Save