projects
/
koperkapel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6a8c0b3
)
smaller roaches aggregated into groups
author
adrianna
<adrianna.pinska@gmail.com>
Sun, 28 Feb 2016 22:13:53 +0000
(
00:13
+0200)
committer
adrianna
<adrianna.pinska@gmail.com>
Sun, 28 Feb 2016 22:14:03 +0000
(
00:14
+0200)
33 files changed:
images/roach_21/eyes_1.png
[new file with mode: 0644]
patch
|
blob
images/roach_21/eyes_2.png
[new file with mode: 0644]
patch
|
blob
images/roach_21/eyes_3.png
[new file with mode: 0644]
patch
|
blob
images/roach_21/eyes_4.png
[new file with mode: 0644]
patch
|
blob
images/roach_21/roach_1.png
[new file with mode: 0644]
patch
|
blob
images/roach_21/roach_2.png
[new file with mode: 0644]
patch
|
blob
images/roach_21/roach_3.png
[new file with mode: 0644]
patch
|
blob
images/roach_21/roach_4.png
[new file with mode: 0644]
patch
|
blob
images/roach_32/eyes_1.png
[new file with mode: 0644]
patch
|
blob
images/roach_32/eyes_2.png
[new file with mode: 0644]
patch
|
blob
images/roach_32/eyes_3.png
[new file with mode: 0644]
patch
|
blob
images/roach_32/eyes_4.png
[new file with mode: 0644]
patch
|
blob
images/roach_32/roach_1.png
[new file with mode: 0644]
patch
|
blob
images/roach_32/roach_2.png
[new file with mode: 0644]
patch
|
blob
images/roach_32/roach_3.png
[new file with mode: 0644]
patch
|
blob
images/roach_32/roach_4.png
[new file with mode: 0644]
patch
|
blob
images/roach_nonet/eyes_1.png
[new file with mode: 0644]
patch
|
blob
images/roach_nonet/eyes_2.png
[new file with mode: 0644]
patch
|
blob
images/roach_nonet/eyes_3.png
[new file with mode: 0644]
patch
|
blob
images/roach_nonet/eyes_4.png
[new file with mode: 0644]
patch
|
blob
images/roach_nonet/roach_1.png
[new file with mode: 0644]
patch
|
blob
images/roach_nonet/roach_2.png
[new file with mode: 0644]
patch
|
blob
images/roach_nonet/roach_3.png
[new file with mode: 0644]
patch
|
blob
images/roach_nonet/roach_4.png
[new file with mode: 0644]
patch
|
blob
images/roach_quartet/eyes_1.png
[new file with mode: 0644]
patch
|
blob
images/roach_quartet/eyes_2.png
[new file with mode: 0644]
patch
|
blob
images/roach_quartet/eyes_3.png
[new file with mode: 0644]
patch
|
blob
images/roach_quartet/eyes_4.png
[new file with mode: 0644]
patch
|
blob
images/roach_quartet/roach_1.png
[new file with mode: 0644]
patch
|
blob
images/roach_quartet/roach_2.png
[new file with mode: 0644]
patch
|
blob
images/roach_quartet/roach_3.png
[new file with mode: 0644]
patch
|
blob
images/roach_quartet/roach_4.png
[new file with mode: 0644]
patch
|
blob
sources/vector/generate_bitmaps.sh
patch
|
blob
|
history
diff --git a/images/roach_21/eyes_1.png
b/images/roach_21/eyes_1.png
new file mode 100644
(file)
index 0000000..
4b964ee
Binary files /dev/null and b/images/roach_21/eyes_1.png differ
diff --git a/images/roach_21/eyes_2.png
b/images/roach_21/eyes_2.png
new file mode 100644
(file)
index 0000000..
71ee549
Binary files /dev/null and b/images/roach_21/eyes_2.png differ
diff --git a/images/roach_21/eyes_3.png
b/images/roach_21/eyes_3.png
new file mode 100644
(file)
index 0000000..
4b964ee
Binary files /dev/null and b/images/roach_21/eyes_3.png differ
diff --git a/images/roach_21/eyes_4.png
b/images/roach_21/eyes_4.png
new file mode 100644
(file)
index 0000000..
24a72d8
Binary files /dev/null and b/images/roach_21/eyes_4.png differ
diff --git a/images/roach_21/roach_1.png
b/images/roach_21/roach_1.png
new file mode 100644
(file)
index 0000000..
e38ccb7
Binary files /dev/null and b/images/roach_21/roach_1.png differ
diff --git a/images/roach_21/roach_2.png
b/images/roach_21/roach_2.png
new file mode 100644
(file)
index 0000000..
4ef0c77
Binary files /dev/null and b/images/roach_21/roach_2.png differ
diff --git a/images/roach_21/roach_3.png
b/images/roach_21/roach_3.png
new file mode 100644
(file)
index 0000000..
f8fb51b
Binary files /dev/null and b/images/roach_21/roach_3.png differ
diff --git a/images/roach_21/roach_4.png
b/images/roach_21/roach_4.png
new file mode 100644
(file)
index 0000000..
e8ad8d3
Binary files /dev/null and b/images/roach_21/roach_4.png differ
diff --git a/images/roach_32/eyes_1.png
b/images/roach_32/eyes_1.png
new file mode 100644
(file)
index 0000000..
c6bc80f
Binary files /dev/null and b/images/roach_32/eyes_1.png differ
diff --git a/images/roach_32/eyes_2.png
b/images/roach_32/eyes_2.png
new file mode 100644
(file)
index 0000000..
4132fe1
Binary files /dev/null and b/images/roach_32/eyes_2.png differ
diff --git a/images/roach_32/eyes_3.png
b/images/roach_32/eyes_3.png
new file mode 100644
(file)
index 0000000..
c6bc80f
Binary files /dev/null and b/images/roach_32/eyes_3.png differ
diff --git a/images/roach_32/eyes_4.png
b/images/roach_32/eyes_4.png
new file mode 100644
(file)
index 0000000..
7b38368
Binary files /dev/null and b/images/roach_32/eyes_4.png differ
diff --git a/images/roach_32/roach_1.png
b/images/roach_32/roach_1.png
new file mode 100644
(file)
index 0000000..
6dd6516
Binary files /dev/null and b/images/roach_32/roach_1.png differ
diff --git a/images/roach_32/roach_2.png
b/images/roach_32/roach_2.png
new file mode 100644
(file)
index 0000000..
b293fc7
Binary files /dev/null and b/images/roach_32/roach_2.png differ
diff --git a/images/roach_32/roach_3.png
b/images/roach_32/roach_3.png
new file mode 100644
(file)
index 0000000..
6a9237d
Binary files /dev/null and b/images/roach_32/roach_3.png differ
diff --git a/images/roach_32/roach_4.png
b/images/roach_32/roach_4.png
new file mode 100644
(file)
index 0000000..
ca3bffa
Binary files /dev/null and b/images/roach_32/roach_4.png differ
diff --git a/images/roach_nonet/eyes_1.png
b/images/roach_nonet/eyes_1.png
new file mode 100644
(file)
index 0000000..
ff82b8e
Binary files /dev/null and b/images/roach_nonet/eyes_1.png differ
diff --git a/images/roach_nonet/eyes_2.png
b/images/roach_nonet/eyes_2.png
new file mode 100644
(file)
index 0000000..
1ed3637
Binary files /dev/null and b/images/roach_nonet/eyes_2.png differ
diff --git a/images/roach_nonet/eyes_3.png
b/images/roach_nonet/eyes_3.png
new file mode 100644
(file)
index 0000000..
7b7f304
Binary files /dev/null and b/images/roach_nonet/eyes_3.png differ
diff --git a/images/roach_nonet/eyes_4.png
b/images/roach_nonet/eyes_4.png
new file mode 100644
(file)
index 0000000..
8c584f5
Binary files /dev/null and b/images/roach_nonet/eyes_4.png differ
diff --git a/images/roach_nonet/roach_1.png
b/images/roach_nonet/roach_1.png
new file mode 100644
(file)
index 0000000..
aa357aa
Binary files /dev/null and b/images/roach_nonet/roach_1.png differ
diff --git a/images/roach_nonet/roach_2.png
b/images/roach_nonet/roach_2.png
new file mode 100644
(file)
index 0000000..
4d1d8ef
Binary files /dev/null and b/images/roach_nonet/roach_2.png differ
diff --git a/images/roach_nonet/roach_3.png
b/images/roach_nonet/roach_3.png
new file mode 100644
(file)
index 0000000..
f0f1160
Binary files /dev/null and b/images/roach_nonet/roach_3.png differ
diff --git a/images/roach_nonet/roach_4.png
b/images/roach_nonet/roach_4.png
new file mode 100644
(file)
index 0000000..
d830eab
Binary files /dev/null and b/images/roach_nonet/roach_4.png differ
diff --git a/images/roach_quartet/eyes_1.png
b/images/roach_quartet/eyes_1.png
new file mode 100644
(file)
index 0000000..
1ee83f6
Binary files /dev/null and b/images/roach_quartet/eyes_1.png differ
diff --git a/images/roach_quartet/eyes_2.png
b/images/roach_quartet/eyes_2.png
new file mode 100644
(file)
index 0000000..
b1df069
Binary files /dev/null and b/images/roach_quartet/eyes_2.png differ
diff --git a/images/roach_quartet/eyes_3.png
b/images/roach_quartet/eyes_3.png
new file mode 100644
(file)
index 0000000..
d28b5ac
Binary files /dev/null and b/images/roach_quartet/eyes_3.png differ
diff --git a/images/roach_quartet/eyes_4.png
b/images/roach_quartet/eyes_4.png
new file mode 100644
(file)
index 0000000..
5af7a66
Binary files /dev/null and b/images/roach_quartet/eyes_4.png differ
diff --git a/images/roach_quartet/roach_1.png
b/images/roach_quartet/roach_1.png
new file mode 100644
(file)
index 0000000..
9654f1f
Binary files /dev/null and b/images/roach_quartet/roach_1.png differ
diff --git a/images/roach_quartet/roach_2.png
b/images/roach_quartet/roach_2.png
new file mode 100644
(file)
index 0000000..
dbb1ac0
Binary files /dev/null and b/images/roach_quartet/roach_2.png differ
diff --git a/images/roach_quartet/roach_3.png
b/images/roach_quartet/roach_3.png
new file mode 100644
(file)
index 0000000..
0ac48e4
Binary files /dev/null and b/images/roach_quartet/roach_3.png differ
diff --git a/images/roach_quartet/roach_4.png
b/images/roach_quartet/roach_4.png
new file mode 100644
(file)
index 0000000..
66d08c6
Binary files /dev/null and b/images/roach_quartet/roach_4.png differ
diff --git
a/sources/vector/generate_bitmaps.sh
b/sources/vector/generate_bitmaps.sh
index bb1a2599e6a275ffe2879b9a9e84ceda4c111258..f303706d6c06e6cdfb26408d39dd3ddbb6bd87a3 100755
(executable)
--- a/
sources/vector/generate_bitmaps.sh
+++ b/
sources/vector/generate_bitmaps.sh
@@
-1,5
+1,7
@@
#!/bin/bash
#!/bin/bash
+# Simple generation of 64x64 tiles
+
for dir in roach
do
mkdir -p ../../images/$dir
for dir in roach
do
mkdir -p ../../images/$dir
@@
-8,3
+10,48
@@
do
inkscape -z -e ../../images/${x%.*}.png -w 64 -h 64 $x
done
done
inkscape -z -e ../../images/${x%.*}.png -w 64 -h 64 $x
done
done
+
+# Smaller roaches
+
+for size in 32 21
+do
+ mkdir -p ../../images/roach_${size}
+
+ for x in roach/*
+ do
+ xbase=`basename $x`
+ inkscape -z -e ../../images/roach_${size}/${xbase%.*}.png -w ${size} -h ${size} $x
+ done
+done
+
+# Roach quartet
+
+mkdir -p ../../images/roach_quartet
+
+function quartet_tile {
+ for tile in roach eyes
+ do
+ montage ../../images/roach_32/${tile}_${1}.png ../../images/roach_32/${tile}_${2}.png ../../images/roach_32/${tile}_${3}.png ../../images/roach_32/${tile}_${4}.png -geometry -10+0 -background none ../../images/roach_quartet/${tile}_${1}.png
+ done
+}
+
+quartet_tile 1 2 3 4
+quartet_tile 2 3 4 1
+quartet_tile 3 4 1 2
+quartet_tile 4 1 2 3
+
+# Roach nonet
+
+mkdir -p ../../images/roach_nonet
+
+function nonet_tile {
+ for tile in roach eyes
+ do
+ montage ../../images/roach_21/${tile}_${1}.png ../../images/roach_21/${tile}_${2}.png ../../images/roach_21/${tile}_${3}.png ../../images/roach_21/${tile}_${4}.png ../../images/roach_21/${tile}_${1}.png ../../images/roach_21/${tile}_${2}.png ../../images/roach_21/${tile}_${3}.png ../../images/roach_21/${tile}_${4}.png ../../images/roach_21/${tile}_${1}.png -geometry +0+0 -background none - | convert - -background none -gravity southeast -splice 1x1 ../../images/roach_nonet/${tile}_${1}.png
+ done
+}
+
+nonet_tile 1 2 3 4
+nonet_tile 2 3 4 1
+nonet_tile 3 4 1 2
+nonet_tile 4 1 2 3