parent
831cb69a77
commit
821ddad7c8
@ -1,3 +1,3 @@
|
||||
export
|
||||
export_flip
|
||||
export_dundundun
|
||||
export_tmp
|
||||
|
@ -1,95 +1,42 @@
|
||||
#!/bin/sh
|
||||
|
||||
mkdir -p export_dundundun
|
||||
inkscape -z -e "export_dundundun/1.png" "blobfoxdundundun1.svg"
|
||||
inkscape -z -e "export_dundundun/2.png" "blobfoxdundundun2.svg"
|
||||
inkscape -z -e "export_dundundun/3.png" "blobfoxdundundun3.svg"
|
||||
inkscape -z -e "export_dundundun/4.png" "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/5.png" -a 15:5:143:133 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/6.png" -a 10:-5:138:123 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/7.png" -a 20:-2:148:126 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/8.png" -a 10:-5:138:123 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/9.png" -a 18:5:146:133 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/10.png" -a 15:-5:143:123 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/11.png" -a 10:0:138:128 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/12.png" -a 12:0:140:128 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/13.png" -a 10:-1:138:127 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/14.png" -a 9:0:137:128 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/15.png" -a 10:1:138:129 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/16.png" -a 17:-2:145:126 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/17.png" -a 14:-6:142:122 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/18.png" -a 10:0:138:128 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/19.png" -a 22:-5:150:123 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/20.png" -a 15:-2:143:126 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/21.png" -a 14:3:142:131 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/22.png" -a 13:-6:141:122 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/23.png" -a 5:-6:133:122 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/24.png" -a 3:-8:131:120 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/25.png" -a 15:-8:143:120 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/26.png" -a 20:-7:148:121 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/27.png" -a 17:-9:145:119 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/28.png" -a 16:5:144:133 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/29.png" -a 13:-5:141:123 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/30.png" -a 15:-4:143:124 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/31.png" -a 16:10:144:138 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/32.png" -a 11:5:139:133 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/33.png" -a 12:2:140:130 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/34.png" -a 10:5:138:133 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/35.png" -a 10:0:138:128 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/36.png" -a 13:3:141:131 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/37.png" -a 17:-1:145:127 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/38.png" -a 18:-1:146:127 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/39.png" -a 14:1:142:129 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/40.png" -a 5:1:133:129 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/41.png" -a 7:-4:135:124 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/42.png" -a 17:-1:145:127 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/43.png" -a 19:5:147:133 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/44.png" -a 15:-3:143:125 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/45.png" -a 15:-3:143:125 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/46.png" -a 14:-4:142:124 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/47.png" -a 16:-5:144:123 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/48.png" -a 16:10:144:138 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/49.png" -a 10:5:138:133 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/50.png" -a 5:6:133:134 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/51.png" -a 5:10:133:138 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/52.png" -a 5:0:133:128 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/53.png" -a 8:5:136:133 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/54.png" -a 3:7:131:135 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/55.png" -a 5:-5:133:123 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/56.png" -a 8:0:136:128 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/57.png" -a 6:4:134:132 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/58.png" -a 6:-6:134:122 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/59.png" -a 5:-8:133:120 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/60.png" -a 10:5:138:133 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/61.png" -a 6:3:134:131 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/62.png" -a 2:1:130:129 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/63.png" -a 8:5:136:133 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/64.png" -a 2:2:130:130 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/65.png" -a -2:2:126:130 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/66.png" -a 0:0:128:128 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/67.png" -a 10:-5:138:123 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/68.png" -a 5:0:133:128 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/69.png" -a 4:0:132:128 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/70.png" -a 6:2:134:130 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/71.png" -a 4:0:132:128 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/72.png" -a 10:0:138:128 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/73.png" -a 20:-5:148:123 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/74.png" -a 16:-3:144:125 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/75.png" -a 8:-1:136:127 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/76.png" -a 9:2:137:130 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/77.png" -a 16:-3:144:125 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/78.png" -a 15:-5:143:123 "blobfoxdundundun4.svg"
|
||||
inkscape -z -e "export_dundundun/79.png" -a 5:-7:133:121 "blobfoxdundundun4.svg"
|
||||
source ./shakeoffsets.sh
|
||||
|
||||
declare -a shakeOffsets
|
||||
getShakeOffsets shakeOffsets
|
||||
|
||||
|
||||
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"
|
||||
|
||||
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"
|
||||
((counter++))
|
||||
done
|
||||
|
||||
|
||||
declare -a args
|
||||
args+=(1.png 50:50 2.png 12:50 3.png 12:50)
|
||||
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
|
||||
args+=(export_dundundun/$counter.png 1:50)
|
||||
file=`printf "export_tmp/%s.png" $counter`
|
||||
args+=($file 1:50)
|
||||
((counter++))
|
||||
done
|
||||
|
||||
apngasm -o export/ablobfoxdundundun.png ${args[@]}
|
||||
rm -f export_dundundun/*
|
||||
rm -f export_tmp/*
|
||||
|
@ -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/*
|
After Width: | Height: | Size: 16 KiB |
@ -0,0 +1,80 @@
|
||||
#!/bin/sh
|
||||
|
||||
function getShakeOffsets {
|
||||
local -n arr=$1
|
||||
arr=(15:5:143:133
|
||||
10:-5:138:123
|
||||
20:-2:148:126
|
||||
10:-5:138:123
|
||||
18:5:146:133
|
||||
15:-5:143:123
|
||||
10:0:138:128
|
||||
12:0:140:128
|
||||
10:-1:138:127
|
||||
9:0:137:128
|
||||
10:1:138:129
|
||||
17:-2:145:126
|
||||
14:-6:142:122
|
||||
10:0:138:128
|
||||
22:-5:150:123
|
||||
15:-2:143:126
|
||||
14:3:142:131
|
||||
13:-6:141:122
|
||||
5:-6:133:122
|
||||
3:-8:131:120
|
||||
15:-8:143:120
|
||||
20:-7:148:121
|
||||
17:-9:145:119
|
||||
16:5:144:133
|
||||
13:-5:141:123
|
||||
15:-4:143:124
|
||||
16:10:144:138
|
||||
11:5:139:133
|
||||
12:2:140:130
|
||||
10:5:138:133
|
||||
10:0:138:128
|
||||
13:3:141:131
|
||||
17:-1:145:127
|
||||
18:-1:146:127
|
||||
14:1:142:129
|
||||
5:1:133:129
|
||||
7:-4:135:124
|
||||
17:-1:145:127
|
||||
19:5:147:133
|
||||
15:-3:143:125
|
||||
15:-3:143:125
|
||||
14:-4:142:124
|
||||
16:-5:144:123
|
||||
16:10:144:138
|
||||
10:5:138:133
|
||||
5:6:133:134
|
||||
5:10:133:138
|
||||
5:0:133:128
|
||||
8:5:136:133
|
||||
3:7:131:135
|
||||
5:-5:133:123
|
||||
8:0:136:128
|
||||
6:4:134:132
|
||||
6:-6:134:122
|
||||
5:-8:133:120
|
||||
10:5:138:133
|
||||
6:3:134:131
|
||||
2:1:130:129
|
||||
8:5:136:133
|
||||
2:2:130:130
|
||||
-2:2:126:130
|
||||
0:0:128:128
|
||||
10:-5:138:123
|
||||
5:0:133:128
|
||||
4:0:132:128
|
||||
6:2:134:130
|
||||
4:0:132:128
|
||||
10:0:138:128
|
||||
20:-5:148:123
|
||||
16:-3:144:125
|
||||
8:-1:136:127
|
||||
9:2:137:130
|
||||
16:-3:144:125
|
||||
15:-5:143:123
|
||||
5:-7:133:121)
|
||||
}
|
Loading…
Reference in new issue