punks 0.3.3 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Manifest.txt +6 -0
- data/README.md +2 -2
- data/Rakefile +1 -1
- data/config/marcs-24x24.csv +149 -0
- data/config/marcs-24x24.png +0 -0
- data/config/philip-24x24.png +0 -0
- data/config/punks-32x32.csv +35 -26
- data/config/punks-32x32.png +0 -0
- data/config/punks_2017-24x24.csv +134 -0
- data/config/punks_2017-24x24.png +0 -0
- data/lib/punks/marcs.rb +35 -0
- data/lib/punks/pixelart/spritesheet.rb +3 -3
- data/lib/punks/version.rb +2 -2
- data/lib/punks/ye_olde_punks_2017.rb +41 -0
- data/lib/punks.rb +14 -0
- metadata +16 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 05cff2486baab314e77942573c124859309686f8af0ba3c735ccfc0d46213a2c
|
|
4
|
+
data.tar.gz: '09d204e4ed0d258f002703a6ae9d08ecc7438046707086ef61de65fbe939f240'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bde973256f77c0931ad6798995a57560b41af29a615eb2bffc998ef0187d7943f0e10880d77fc603bff62d5207f3e6a28d4c393ba4f06a830f6b8627665ddfed
|
|
7
|
+
data.tar.gz: 7c2f2ea09a7b44c7adfa3a7d15efec8061d4f120e4a837a961cac5a9987dfdaa5731c67e8b2f2af9da8e70d1ac1230fba999d9359bb9b32c67b898cabf8f5578
|
data/Manifest.txt
CHANGED
|
@@ -2,11 +2,15 @@ CHANGELOG.md
|
|
|
2
2
|
Manifest.txt
|
|
3
3
|
README.md
|
|
4
4
|
Rakefile
|
|
5
|
+
config/marcs-24x24.csv
|
|
6
|
+
config/marcs-24x24.png
|
|
5
7
|
config/philip-24x24.png
|
|
6
8
|
config/punks-24x24.csv
|
|
7
9
|
config/punks-24x24.png
|
|
8
10
|
config/punks-32x32.csv
|
|
9
11
|
config/punks-32x32.png
|
|
12
|
+
config/punks_2017-24x24.csv
|
|
13
|
+
config/punks_2017-24x24.png
|
|
10
14
|
config/punks_xl-32x32.csv
|
|
11
15
|
config/punks_xl-32x32.png
|
|
12
16
|
config/saudis-24x24.csv
|
|
@@ -14,6 +18,7 @@ config/saudis-24x24.png
|
|
|
14
18
|
lib/punks.rb
|
|
15
19
|
lib/punks/bodies_32.rb
|
|
16
20
|
lib/punks/bodies_40.rb
|
|
21
|
+
lib/punks/marcs.rb
|
|
17
22
|
lib/punks/marilyns.rb
|
|
18
23
|
lib/punks/philips.rb
|
|
19
24
|
lib/punks/phunks.rb
|
|
@@ -23,3 +28,4 @@ lib/punks/punks.rb
|
|
|
23
28
|
lib/punks/punks_xl.rb
|
|
24
29
|
lib/punks/saudis.rb
|
|
25
30
|
lib/punks/version.rb
|
|
31
|
+
lib/punks/ye_olde_punks_2017.rb
|
data/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
The Do-It-Yourself (DIY) [Factory of Modern Originals (FoMO)](https://github.com/pixelartexchange/originals) Presents
|
|
2
2
|
|
|
3
|
-
# Punks, Phunks, Philips, Marilyns, Saudis/Sheiks & More (Pixel Characters / Avatars)
|
|
3
|
+
# Punks (Incl. Ye Olde Punks V1/V2 Anno 2017), Phunks, Philips, Marilyns, Saudis/Sheiks, Men In Black, Hotties & More (Pixel Characters / Avatars)
|
|
4
4
|
|
|
5
|
-
Yes, you can! Generate your own 24×24 (or 32×32) punk, phunk, philip, marilyn, saudi/sheik & more (pixel) avatar / character images (off chain) from text attributes (via built-in
|
|
5
|
+
Yes, you can! Generate your own 24×24 (or 32×32) punk (incl. Matt & John's® ye olde punks v1/v2 anno 2017 style), phunk, philip, marilyn, saudi/sheik, man in black, hottie & more (pixel) avatar / character images (off chain) from text attributes (via built-in spritesheets); incl. 2x/4x/8x zoom for bigger sizes and more
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
data/Rakefile
CHANGED
|
@@ -13,7 +13,7 @@ Hoe.spec 'punks' do
|
|
|
13
13
|
|
|
14
14
|
self.version = Pixelart::Module::Punks::VERSION
|
|
15
15
|
|
|
16
|
-
self.summary = "punks - generate your own 24×24 (or 32×32) punk, phunk, philip, marilyn, saudi/sheik 'n' more (pixel) avatar / character images (off chain) from text attributes (via built-in
|
|
16
|
+
self.summary = "punks - generate your own 24×24 (or 32×32) punk (incl. Matt & John's® ye olde punk v1/v2 anno 2017 style), phunk, philip, marilyn, saudi/sheik, man in black, hottie 'n' more (pixel) avatar / character images (off chain) from text attributes (via built-in spritesheets); incl. 2x/4x/8x zoom for bigger sizes and more"
|
|
17
17
|
self.description = summary
|
|
18
18
|
|
|
19
19
|
self.urls = { home: 'https://github.com/cryptopunksnotdead/cryptopunks' }
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
id, category, name, more_names
|
|
2
|
+
0, , marc-classic,
|
|
3
|
+
1, , ape-classic,
|
|
4
|
+
2, , Marc 1, Marc Dark
|
|
5
|
+
3, , Marc 2, Marc Mid | Marc Medium
|
|
6
|
+
4, , Marc 3, Marc | Marc Light
|
|
7
|
+
5, , Marc 4, Marc Albino
|
|
8
|
+
6, , Marc Gold, Gold | Marc Golden
|
|
9
|
+
7, , madlad,
|
|
10
|
+
8, , zombie,
|
|
11
|
+
9, , ape,
|
|
12
|
+
10, , Golden Ape, Ape Gold | Ape Golden
|
|
13
|
+
11, , Pink Ape, Ape Pink
|
|
14
|
+
12, , Blue Alien, Alien | Alien Blue
|
|
15
|
+
13, , Green Alien, Alien Green
|
|
16
|
+
14, , Devil 1, Devil | Demon | Demon 1
|
|
17
|
+
15, , Devil 2, Demon 2
|
|
18
|
+
16, , Devil 3, Demon 3
|
|
19
|
+
17, , orc,
|
|
20
|
+
18, , skeleton,
|
|
21
|
+
19, , bot,
|
|
22
|
+
20, , blue_eyes,
|
|
23
|
+
21, , green_eyes,
|
|
24
|
+
22, , blue_eye_shadow,
|
|
25
|
+
23, , green_eye_shadow,
|
|
26
|
+
24, , purple_eye_shadow,
|
|
27
|
+
25, , bagner,
|
|
28
|
+
26, , horns,
|
|
29
|
+
27, , marc_tyson,
|
|
30
|
+
28, , cleft,
|
|
31
|
+
29, , mole,
|
|
32
|
+
30, , rosy_cheeks,
|
|
33
|
+
31, , shine,
|
|
34
|
+
32, , spots,
|
|
35
|
+
33, , black_lipstick,
|
|
36
|
+
34, , hot_lipstick,
|
|
37
|
+
35, , purple_lipstick,
|
|
38
|
+
36, , buck_teeth,
|
|
39
|
+
37, , clown_nose,
|
|
40
|
+
38, , gold_ring,
|
|
41
|
+
39, , diamond_earring,
|
|
42
|
+
40, , gold_earring,
|
|
43
|
+
41, , diamond_helix,
|
|
44
|
+
42, , gold_helix,
|
|
45
|
+
43, , frown,
|
|
46
|
+
44, , smile,
|
|
47
|
+
45, , big_beard_white,
|
|
48
|
+
46, , big_beard,
|
|
49
|
+
47, , chinstrap,
|
|
50
|
+
48, , front_beard,
|
|
51
|
+
49, , front_beard_dark,
|
|
52
|
+
50, , full_mustache,
|
|
53
|
+
51, , full_mustache_dark,
|
|
54
|
+
52, , goat,
|
|
55
|
+
53, , goat_dark,
|
|
56
|
+
54, , handlebar,
|
|
57
|
+
55, , luxurious_beard,
|
|
58
|
+
56, , mustache,
|
|
59
|
+
57, , mutton_chop,
|
|
60
|
+
58, , normal_beard,
|
|
61
|
+
59, , normal_beard_black,
|
|
62
|
+
60, , shadow_beard,
|
|
63
|
+
61, , soul_patch,
|
|
64
|
+
62, , bandana,
|
|
65
|
+
63, , beanie,
|
|
66
|
+
64, , bunny_ears,
|
|
67
|
+
65, , cap,
|
|
68
|
+
66, , skull_cap,
|
|
69
|
+
67, , cap_forward,
|
|
70
|
+
68, , police_cap,
|
|
71
|
+
69, , cowboy_hat,
|
|
72
|
+
70, , do_rag,
|
|
73
|
+
71, , fast_food,
|
|
74
|
+
72, , marcdonalds,
|
|
75
|
+
73, , fedora,
|
|
76
|
+
74, , headband,
|
|
77
|
+
75, , roaring_headband,
|
|
78
|
+
76, , hoodie,
|
|
79
|
+
77, , purple_hoodie,
|
|
80
|
+
78, , knitted_cap,
|
|
81
|
+
79, , laurels,
|
|
82
|
+
80, , shemagh,
|
|
83
|
+
81, , tassle_hat,
|
|
84
|
+
82, , tiarra,
|
|
85
|
+
83, , top_hat,
|
|
86
|
+
84, , uncle_sam,
|
|
87
|
+
85, , viking,
|
|
88
|
+
86, , welding_goggles,
|
|
89
|
+
87, , blonde_bob,
|
|
90
|
+
88, , chad,
|
|
91
|
+
89, , clown_hair,
|
|
92
|
+
90, , crazy_white_hair,
|
|
93
|
+
91, , crazy_hair,
|
|
94
|
+
92, , frumpy_hair,
|
|
95
|
+
93, , marc_three,
|
|
96
|
+
94, , purple_hair,
|
|
97
|
+
95, , stringy_hair,
|
|
98
|
+
96, , vampire_hair,
|
|
99
|
+
97, , wild_blonde_hair,
|
|
100
|
+
98, , wild_hair,
|
|
101
|
+
99, , clown_eyes_blue,
|
|
102
|
+
100, , clown_eyes_green,
|
|
103
|
+
101, , lasers,
|
|
104
|
+
102, , tears,
|
|
105
|
+
103, , 3d_glasses,
|
|
106
|
+
104, , aviators,
|
|
107
|
+
105, , big_shades,
|
|
108
|
+
106, , classic_shades,
|
|
109
|
+
107, , deal_with_it,
|
|
110
|
+
108, , glasses,
|
|
111
|
+
109, , gold_glasses,
|
|
112
|
+
110, , horned_rim_glasses,
|
|
113
|
+
111, , monocle,
|
|
114
|
+
112, , nerd_glasses,
|
|
115
|
+
113, , pink_shades,
|
|
116
|
+
114, , polarized,
|
|
117
|
+
115, , polarized_white,
|
|
118
|
+
116, , regular_shades,
|
|
119
|
+
117, , small_shades,
|
|
120
|
+
118, , VR Headset, VR
|
|
121
|
+
119, , eye_mask,
|
|
122
|
+
120, , eye_patch,
|
|
123
|
+
121, , cigar,
|
|
124
|
+
122, , cigarette,
|
|
125
|
+
123, , hookah,
|
|
126
|
+
124, , pipe,
|
|
127
|
+
125, , vape,
|
|
128
|
+
126, , medical_mask,
|
|
129
|
+
127, , bubble_gum,
|
|
130
|
+
128, , black_tie,
|
|
131
|
+
129, , blue_tie,
|
|
132
|
+
130, , red_tie,
|
|
133
|
+
131, , blue_shirt,
|
|
134
|
+
132, , blue_t_shirt,
|
|
135
|
+
133, , Fast Food Shirt,
|
|
136
|
+
134, , green_shirt,
|
|
137
|
+
135, , grey_shirt,
|
|
138
|
+
136, , purple_t_shirt,
|
|
139
|
+
137, , white_t_shirt,
|
|
140
|
+
138, , jumpsuit,
|
|
141
|
+
139, , labcoat,
|
|
142
|
+
140, , choker,
|
|
143
|
+
141, , double_gold_chain,
|
|
144
|
+
142, , gold_chain,
|
|
145
|
+
143, , silver_chain,
|
|
146
|
+
144, , thick_chain,
|
|
147
|
+
145, , hemp,
|
|
148
|
+
146, , ice,
|
|
149
|
+
147, , medallion,
|
|
Binary file
|
data/config/philip-24x24.png
CHANGED
|
Binary file
|
data/config/punks-32x32.csv
CHANGED
|
@@ -1,27 +1,36 @@
|
|
|
1
1
|
id, name, gender, size, type, more_names
|
|
2
|
-
0, Human 1, m, l, Archetype - Human, Human Male 1 | Human 1 ♂ | Male 1
|
|
3
|
-
1, Human 2, m, l, Archetype - Human, Human Male 2 | Human 2 ♂ | Male 2
|
|
4
|
-
2, Human 3, m, l, Archetype - Human, Human Male 3 | Human 3 ♂ | Male 3
|
|
5
|
-
3, Human
|
|
6
|
-
4, Human
|
|
7
|
-
5, Human
|
|
8
|
-
6, Human Female 1, f, s, Archetype - Human, Human 1 ♀ | Female 1
|
|
9
|
-
7, Human Female
|
|
10
|
-
8, Human Female
|
|
11
|
-
9, Human Female
|
|
12
|
-
10, Human Female
|
|
13
|
-
11, Human Female
|
|
14
|
-
12, Human Female
|
|
15
|
-
13, Human Female
|
|
16
|
-
14, Human Female
|
|
17
|
-
15,
|
|
18
|
-
16,
|
|
19
|
-
17,
|
|
20
|
-
18, Zombie
|
|
21
|
-
19, Zombie
|
|
22
|
-
20, Zombie Female
|
|
23
|
-
21,
|
|
24
|
-
22,
|
|
25
|
-
23,
|
|
26
|
-
24,
|
|
27
|
-
25,
|
|
2
|
+
0, Human XS 1, m, l, Archetype - Human, Human Male XS 1 | Human XS 1 ♂ | Male XS 1
|
|
3
|
+
1, Human XS 2, m, l, Archetype - Human, Human Male XS 2 | Human XS 2 ♂ | Male XS 2
|
|
4
|
+
2, Human XS 3, m, l, Archetype - Human, Human Male XS 3 | Human XS 3 ♂ | Male XS 3
|
|
5
|
+
3, Human M 1, m, l, Archetype - Human, Human Male M 1 | Human M 1 ♂ | Human Mid 1 | Human Male Mid 1 | Human Mid 1 ♂ | Male M 1 | Male Mid 1
|
|
6
|
+
4, Human M 2, m, l, Archetype - Human, Human Male M 2 | Human M 2 ♂ | Human Mid 2 | Human Male Mid 2 | Human Mid 2 ♂ | Male M 2 | Male Mid 2
|
|
7
|
+
5, Human M 3, m, l, Archetype - Human, Human Male M 3 | Human M 3 ♂ | Human Mid 3 | Human Male Mid 3 | Human Mid 3 ♂ | Male M 3 | Male Mid 3
|
|
8
|
+
6, Human Female M 1, f, s, Archetype - Human, Human M 1 ♀ | Human Female Mid 1 | Human Mid 1 ♀ | Female M 1 | Female Mid 1
|
|
9
|
+
7, Human Female M 2, f, s, Archetype - Human, Human M 2 ♀ | Human Female Mid 2 | Human Mid 2 ♀ | Female M 2 | Female Mid 2
|
|
10
|
+
8, Human Female M 3, f, s, Archetype - Human, Human M 3 ♀ | Human Female Mid 3 | Human Mid 3 ♀ | Female M 3 | Female Mid 3
|
|
11
|
+
9, Human Female L 1, f, s, Archetype - Human, Human L 1 ♀ | Female L 1
|
|
12
|
+
10, Human Female L 1A, f, s, Archetype - Human, Human L 1A ♀ | Female L 1A
|
|
13
|
+
11, Human Female L 2, f, s, Archetype - Human, Human L 2 ♀ | Female L 2
|
|
14
|
+
12, Human Female L 3, f, s, Archetype - Human, Human L 3 ♀ | Female L 3
|
|
15
|
+
13, Human Female L 3A, f, s, Archetype - Human, Human L 3A ♀ | Female L 3A
|
|
16
|
+
14, Human Female XXL 1, f, s, Archetype - Human, Human XXL 1 ♀ | Human Female Big 1 | Human Big 1 ♀ | Female XXL 1 | Female Big 1
|
|
17
|
+
15, Human Female XXL 2, f, s, Archetype - Human, Human XXL 2 ♀ | Human Female Big 2 | Human Big 2 ♀ | Female XXL 2 | Female Big 2
|
|
18
|
+
16, Human Female XXL 3, f, s, Archetype - Human, Human XXL 3 ♀ | Human Female Big 3 | Human Big 3 ♀ | Female XXL 3 | Female Big 3
|
|
19
|
+
17, Human Female XXL 3A, f, s, Archetype - Human, Human XXL 3A ♀ | Human Female Big 3A | Human Big 3A ♀ | Female XXL 3A | Female Big 3A
|
|
20
|
+
18, Zombie XS, m, l, Archetype - Zombie, Zombie Male XS | Zombie XS ♂
|
|
21
|
+
19, Zombie M, m, l, Archetype - Zombie, Zombie Male M | Zombie M ♂ | Zombie Mid | Zombie Male Mid | Zombie Mid ♂
|
|
22
|
+
20, Zombie Female M, f, s, Archetype - Zombie, Zombie M ♀ | Zombie Female Mid | Zombie Mid ♀
|
|
23
|
+
21, Zombie Female L, f, s, Archetype - Zombie, Zombie L ♀
|
|
24
|
+
22, Zombie Female L A, f, s, Archetype - Zombie, Zombie L A ♀
|
|
25
|
+
23, Zombie Female XXL, f, s, Archetype - Zombie, Zombie XXL ♀ | Zombie Female Big | Zombie Big ♀
|
|
26
|
+
24, Ape XS, m, l, Archetype - Ape, Ape Male XS | Ape XS ♂
|
|
27
|
+
25, Ape M, m, l, Archetype - Ape, Ape Male M | Ape M ♂ | Ape Mid | Ape Male Mid | Ape Mid ♂
|
|
28
|
+
26, Ape Female M, f, s, Archetype - Ape, Ape M ♀ | Ape Female Mid | Ape Mid ♀
|
|
29
|
+
27, Ape Female L, f, s, Archetype - Ape, Ape L ♀
|
|
30
|
+
28, Ape Female XXL, f, s, Archetype - Ape, Ape XXL ♀ | Ape Female Big | Ape Big ♀
|
|
31
|
+
29, Alien XS, m, l, Archetype - Alien, Alien Male XS | Alien XS ♂
|
|
32
|
+
30, Alien M, m, l, Archetype - Alien, Alien Male M | Alien M ♂ | Alien Mid | Alien Male Mid | Alien Mid ♂
|
|
33
|
+
31, Alien Female M, f, s, Archetype - Alien, Alien M ♀ | Alien Female Mid | Alien Mid ♀
|
|
34
|
+
32, Alien Female L, f, s, Archetype - Alien, Alien L ♀
|
|
35
|
+
33, Alien Female L A, f, s, Archetype - Alien, Alien L A ♀
|
|
36
|
+
34, Alien Female XXL, f, s, Archetype - Alien, Alien XXL ♀ | Alien Female Big | Alien Big ♀
|
data/config/punks-32x32.png
CHANGED
|
Binary file
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
id, name, gender, size, type, more_names
|
|
2
|
+
0, Male 1, m, l, Archetype,
|
|
3
|
+
1, Male 2, m, l, Archetype,
|
|
4
|
+
2, Male 3, m, l, Archetype,
|
|
5
|
+
3, Male 4, m, l, Archetype,
|
|
6
|
+
4, Female 1, f, s, Archetype,
|
|
7
|
+
5, Female 2, f, s, Archetype,
|
|
8
|
+
6, Female 3, f, s, Archetype,
|
|
9
|
+
7, Female 4, f, s, Archetype,
|
|
10
|
+
8, Zombie, m, l, Archetype,
|
|
11
|
+
9, Ape, m, l, Archetype,
|
|
12
|
+
10, Alien, m, l, Archetype,
|
|
13
|
+
11, Rosy Cheeks, m, l, ?,
|
|
14
|
+
12, Luxurious Beard, m, l, ?,
|
|
15
|
+
13, Clown Hair Green, m, l, ?,
|
|
16
|
+
14, Mohawk Dark, m, l, ?,
|
|
17
|
+
15, Cowboy Hat, m, l, ?,
|
|
18
|
+
16, Mustache, m, l, ?,
|
|
19
|
+
17, Clown Nose, m, l, ?,
|
|
20
|
+
18, Cigarette, m, l, ?,
|
|
21
|
+
19, Nerd Glasses, m, l, ?,
|
|
22
|
+
20, Regular Shades, m, l, ?,
|
|
23
|
+
21, Knitted Cap, m, l, ?,
|
|
24
|
+
22, Shadow Beard, m, l, ?,
|
|
25
|
+
23, Frown, m, l, ?,
|
|
26
|
+
24, Cap Forward, m, l, ?,
|
|
27
|
+
25, Goat, m, l, ?,
|
|
28
|
+
26, Mole, m, l, ?,
|
|
29
|
+
27, Purple Hair, m, l, ?,
|
|
30
|
+
28, Small Shades, m, l, ?,
|
|
31
|
+
29, Shaved Head, m, l, ?,
|
|
32
|
+
30, Classic Shades, m, l, ?,
|
|
33
|
+
31, Vape, m, l, ?,
|
|
34
|
+
32, Silver Chain, m, l, ?,
|
|
35
|
+
33, Smile, m, l, ?,
|
|
36
|
+
34, Big Shades, m, l, ?,
|
|
37
|
+
35, Mohawk Thin, m, l, ?,
|
|
38
|
+
36, Beanie, m, l, ?,
|
|
39
|
+
37, Cap, m, l, ?,
|
|
40
|
+
38, Clown Eyes Green, m, l, ?,
|
|
41
|
+
39, Normal Beard Black, m, l, ?,
|
|
42
|
+
40, Medical Mask, m, l, ?,
|
|
43
|
+
41, Normal Beard, m, l, ?,
|
|
44
|
+
42, VR, m, l, ?,
|
|
45
|
+
43, Eye Patch, m, l, ?,
|
|
46
|
+
44, Wild Hair, m, l, ?,
|
|
47
|
+
45, Top Hat, m, l, ?,
|
|
48
|
+
46, Bandana, m, l, ?,
|
|
49
|
+
47, Handlebars, m, l, ?,
|
|
50
|
+
48, Frumpy Hair, m, l, ?,
|
|
51
|
+
49, Crazy Hair, m, l, ?,
|
|
52
|
+
50, Police Cap, m, l, ?,
|
|
53
|
+
51, Buck Teeth, m, l, ?,
|
|
54
|
+
52, Do-rag, m, l, ?,
|
|
55
|
+
53, Front Beard, m, l, ?,
|
|
56
|
+
54, Spots, m, l, ?,
|
|
57
|
+
55, Big Beard, m, l, ?,
|
|
58
|
+
56, Vampire Hair, m, l, ?,
|
|
59
|
+
57, Peak Spike, m, l, ?,
|
|
60
|
+
58, Chinstrap, m, l, ?,
|
|
61
|
+
59, Fedora, m, l, ?,
|
|
62
|
+
60, Earring, m, l, ?,
|
|
63
|
+
61, Horned Rim Glasses, m, l, ?,
|
|
64
|
+
62, Headband, m, l, ?,
|
|
65
|
+
63, Pipe, m, l, ?,
|
|
66
|
+
64, Messy Hair, m, l, ?,
|
|
67
|
+
65, Front Beard Dark, m, l, ?,
|
|
68
|
+
66, Hoodie, m, l, ?,
|
|
69
|
+
67, Gold Chain, m, l, ?,
|
|
70
|
+
68, Muttonchops, m, l, ?,
|
|
71
|
+
69, Stringy Hair, m, l, ?,
|
|
72
|
+
70, Eye Mask, m, l, ?,
|
|
73
|
+
71, 3D Glasses, m, l, ?,
|
|
74
|
+
72, Clown Eyes Blue, m, l, ?,
|
|
75
|
+
73, Mohawk, m, l, ?,
|
|
76
|
+
74, Pilot Helmet, f, s, ?,
|
|
77
|
+
75, Tassle Hat, f, s, ?,
|
|
78
|
+
76, Hot Lipstick, f, s, ?,
|
|
79
|
+
77, Blue Eye Shadow, f, s, ?,
|
|
80
|
+
78, Straight Hair Dark, f, s, ?,
|
|
81
|
+
79, Choker, f, s, ?,
|
|
82
|
+
80, Crazy Hair, f, s, ?,
|
|
83
|
+
81, Regular Shades, f, s, ?,
|
|
84
|
+
82, Wild Blonde, f, s, ?,
|
|
85
|
+
83, 3D Glasses, f, s, ?,
|
|
86
|
+
84, Mole, f, s, ?,
|
|
87
|
+
85, Wild White Hair, f, s, ?,
|
|
88
|
+
86, Spots, f, s, ?,
|
|
89
|
+
87, Frumpy Hair, f, s, ?,
|
|
90
|
+
88, Nerd Glasses, f, s, ?,
|
|
91
|
+
89, Tiara, f, s, ?,
|
|
92
|
+
90, Orange Side, f, s, ?,
|
|
93
|
+
91, Red Mohawk, f, s, ?,
|
|
94
|
+
92, Messy Hair, f, s, ?,
|
|
95
|
+
93, Clown Eyes Blue, f, s, ?,
|
|
96
|
+
94, Pipe, f, s, ?,
|
|
97
|
+
95, Wild Hair, f, s, ?,
|
|
98
|
+
96, Purple Eye Shadow, f, s, ?,
|
|
99
|
+
97, Stringy Hair, f, s, ?,
|
|
100
|
+
98, Dark Hair, f, s, ?,
|
|
101
|
+
99, Eye Patch, f, s, ?,
|
|
102
|
+
100, Blonde Short, f, s, ?,
|
|
103
|
+
101, Classic Shades, f, s, ?,
|
|
104
|
+
102, Eye Mask, f, s, ?,
|
|
105
|
+
103, Clown Hair Green, f, s, ?,
|
|
106
|
+
104, Cap, f, s, ?,
|
|
107
|
+
105, Medical Mask, f, s, ?,
|
|
108
|
+
106, Bandana, f, s, ?,
|
|
109
|
+
107, Purple Lipstick, f, s, ?,
|
|
110
|
+
108, Clown Nose, f, s, ?,
|
|
111
|
+
109, Headband, f, s, ?,
|
|
112
|
+
110, Pigtails, f, s, ?,
|
|
113
|
+
111, Straight Hair Blonde, f, s, ?,
|
|
114
|
+
112, Knitted Cap, f, s, ?,
|
|
115
|
+
113, Clown Eyes Green, f, s, ?,
|
|
116
|
+
114, Cigarette, f, s, ?,
|
|
117
|
+
115, Welding Goggles, f, s, ?,
|
|
118
|
+
116, Mohawk Thin, f, s, ?,
|
|
119
|
+
117, Gold Chain, f, s, ?,
|
|
120
|
+
118, VR, f, s, ?,
|
|
121
|
+
119, Vape, f, s, ?,
|
|
122
|
+
120, Pink With Hat, f, s, ?,
|
|
123
|
+
121, Blonde Bob, f, s, ?,
|
|
124
|
+
122, Mohawk, f, s, ?,
|
|
125
|
+
123, Big Shades, f, s, ?,
|
|
126
|
+
124, Earring, f, s, ?,
|
|
127
|
+
125, Green Eye Shadow, f, s, ?,
|
|
128
|
+
126, Straight Hair, f, s, ?,
|
|
129
|
+
127, Rosy Cheeks, f, s, ?,
|
|
130
|
+
128, Half Shaved, f, s, ?,
|
|
131
|
+
129, Mohawk Dark, f, s, ?,
|
|
132
|
+
130, Black Lipstick, f, s, ?,
|
|
133
|
+
131, Horned Rim Glasses, f, s, ?,
|
|
134
|
+
132, Silver Chain, f, s, ?,
|
|
Binary file
|
data/lib/punks/marcs.rb
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
module Marc
|
|
2
|
+
|
|
3
|
+
class Spritesheet
|
|
4
|
+
def self.builtin
|
|
5
|
+
@builtin ||= Pixelart::Spritesheet.read( "#{Pixelart::Module::Punks.root}/config/marcs-24x24.png",
|
|
6
|
+
"#{Pixelart::Module::Punks.root}/config/marcs-24x24.csv",
|
|
7
|
+
width: 24,
|
|
8
|
+
height: 24 )
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
def self.find_by( name: ) ## return archetype/attribute image by name
|
|
12
|
+
builtin.find_by( name: name )
|
|
13
|
+
end
|
|
14
|
+
end # class Spritesheet
|
|
15
|
+
## add convenience (alternate spelling) alias - why? why not?
|
|
16
|
+
SpriteSheet = Spritesheet
|
|
17
|
+
Sheet = Spritesheet
|
|
18
|
+
Sprite = Spritesheet
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class Image < Pixelart::Image
|
|
22
|
+
def self.generator
|
|
23
|
+
@generator ||= Artfactory.use( Sheet.builtin,
|
|
24
|
+
image_class: Image )
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
def self.generate( *names )
|
|
28
|
+
## note: return marcs "hand-phlipped" by default as phree phunks
|
|
29
|
+
generator.generate( *names ).mirror
|
|
30
|
+
end
|
|
31
|
+
end # class Image
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
end # module Marc
|
|
35
|
+
|
|
@@ -38,8 +38,8 @@ module Pixelart
|
|
|
38
38
|
|
|
39
39
|
## todo/check - find better names for type attribute/archetypes?
|
|
40
40
|
## use (alternate name/alias) base or face for archetypes? any others?
|
|
41
|
-
def
|
|
42
|
-
def
|
|
41
|
+
def archetype?() @type.downcase.index( 'archetype' ); end
|
|
42
|
+
def attribute?() !archetype?; end
|
|
43
43
|
|
|
44
44
|
def small?() @size == 's'; end
|
|
45
45
|
def large?() @size == 'l'; end
|
|
@@ -263,7 +263,7 @@ def _build_attributes_by_name( recs )
|
|
|
263
263
|
key << "_(#{rec.gender}+#{rec.size})" if rec.attribute?
|
|
264
264
|
|
|
265
265
|
if h[ key ]
|
|
266
|
-
puts "!!! ERROR - attribute
|
|
266
|
+
puts "!!! ERROR - attribute with key >#{key}< is not unique:"
|
|
267
267
|
pp rec
|
|
268
268
|
puts "duplicate:"
|
|
269
269
|
pp h[key]
|
data/lib/punks/version.rb
CHANGED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
|
|
2
|
+
module YeOldePunkAnno2017
|
|
3
|
+
|
|
4
|
+
class Spritesheet
|
|
5
|
+
def self.builtin
|
|
6
|
+
@builtin ||= Pixelart::SpritesheetEx.read( "#{Pixelart::Module::Punks.root}/config/punks_2017-24x24.png",
|
|
7
|
+
"#{Pixelart::Module::Punks.root}/config/punks_2017-24x24.csv",
|
|
8
|
+
width: 24,
|
|
9
|
+
height: 24 )
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
## note: for now class used for "namespace" only
|
|
13
|
+
def self.find_by( name:, gender: nil, size: nil, warn: true ) ## return archetype/attribute image by name
|
|
14
|
+
# note: pass along name as q (query string)
|
|
15
|
+
builtin.find_by( name: name,
|
|
16
|
+
gender: gender,
|
|
17
|
+
size: size,
|
|
18
|
+
warn: warn )
|
|
19
|
+
end
|
|
20
|
+
end # class Spritesheet
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
## add convenience (alternate spelling) alias - why? why not?
|
|
24
|
+
SpriteSheet = Spritesheet
|
|
25
|
+
Sheet = Spritesheet
|
|
26
|
+
Sprite = Spritesheet
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class Image < Pixelart::Image
|
|
31
|
+
|
|
32
|
+
def self.generator
|
|
33
|
+
@generator ||= GeneratorEx.use( Sheet.builtin, image_class: Image )
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def self.generate( *values )
|
|
37
|
+
generator.generate( *values )
|
|
38
|
+
end # method Image.generate
|
|
39
|
+
end # class Image
|
|
40
|
+
end # module YeOldePunkAnno2017
|
|
41
|
+
|
data/lib/punks.rb
CHANGED
|
@@ -18,6 +18,8 @@ require 'punks/phunks'
|
|
|
18
18
|
require 'punks/marilyns'
|
|
19
19
|
require 'punks/philips'
|
|
20
20
|
require 'punks/saudis'
|
|
21
|
+
require 'punks/marcs'
|
|
22
|
+
require 'punks/ye_olde_punks_2017'
|
|
21
23
|
## --- 32x32 series
|
|
22
24
|
require 'punks/punks_xl'
|
|
23
25
|
require 'punks/bodies_32'
|
|
@@ -55,6 +57,18 @@ Sheiks = Saudi
|
|
|
55
57
|
Sheik = Saudi
|
|
56
58
|
|
|
57
59
|
|
|
60
|
+
## add some convience shortcuts / alternate spelling variants
|
|
61
|
+
YeOldePunk2017 = YeOldePunkAnno2017
|
|
62
|
+
Yeoldepunk2017 = YeOldePunkAnno2017
|
|
63
|
+
YeOldePunk = YeOldePunkAnno2017
|
|
64
|
+
Yeoldepunk = YeOldePunkAnno2017
|
|
65
|
+
Punk2017 = YeOldePunkAnno2017
|
|
66
|
+
PunkV1 = YeOldePunkAnno2017
|
|
67
|
+
Punkv1 = YeOldePunkAnno2017
|
|
68
|
+
PunkV2 = YeOldePunkAnno2017
|
|
69
|
+
Punkv2 = YeOldePunkAnno2017
|
|
70
|
+
|
|
71
|
+
|
|
58
72
|
###
|
|
59
73
|
# note: for convenience auto include Pixelart namespace!!! - why? why not?
|
|
60
74
|
include Pixelart
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: punks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gerald Bauer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-07-
|
|
11
|
+
date: 2022-07-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pixelart
|
|
@@ -86,9 +86,10 @@ dependencies:
|
|
|
86
86
|
- - "~>"
|
|
87
87
|
- !ruby/object:Gem::Version
|
|
88
88
|
version: '3.23'
|
|
89
|
-
description: punks - generate your own 24×24 (or 32×32) punk
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
description: punks - generate your own 24×24 (or 32×32) punk (incl. Matt & John's®
|
|
90
|
+
ye olde punk v1/v2 anno 2017 style), phunk, philip, marilyn, saudi/sheik, man in
|
|
91
|
+
black, hottie 'n' more (pixel) avatar / character images (off chain) from text attributes
|
|
92
|
+
(via built-in spritesheets); incl. 2x/4x/8x zoom for bigger sizes and more
|
|
92
93
|
email: wwwmake@googlegroups.com
|
|
93
94
|
executables: []
|
|
94
95
|
extensions: []
|
|
@@ -101,11 +102,15 @@ files:
|
|
|
101
102
|
- Manifest.txt
|
|
102
103
|
- README.md
|
|
103
104
|
- Rakefile
|
|
105
|
+
- config/marcs-24x24.csv
|
|
106
|
+
- config/marcs-24x24.png
|
|
104
107
|
- config/philip-24x24.png
|
|
105
108
|
- config/punks-24x24.csv
|
|
106
109
|
- config/punks-24x24.png
|
|
107
110
|
- config/punks-32x32.csv
|
|
108
111
|
- config/punks-32x32.png
|
|
112
|
+
- config/punks_2017-24x24.csv
|
|
113
|
+
- config/punks_2017-24x24.png
|
|
109
114
|
- config/punks_xl-32x32.csv
|
|
110
115
|
- config/punks_xl-32x32.png
|
|
111
116
|
- config/saudis-24x24.csv
|
|
@@ -113,6 +118,7 @@ files:
|
|
|
113
118
|
- lib/punks.rb
|
|
114
119
|
- lib/punks/bodies_32.rb
|
|
115
120
|
- lib/punks/bodies_40.rb
|
|
121
|
+
- lib/punks/marcs.rb
|
|
116
122
|
- lib/punks/marilyns.rb
|
|
117
123
|
- lib/punks/philips.rb
|
|
118
124
|
- lib/punks/phunks.rb
|
|
@@ -122,6 +128,7 @@ files:
|
|
|
122
128
|
- lib/punks/punks_xl.rb
|
|
123
129
|
- lib/punks/saudis.rb
|
|
124
130
|
- lib/punks/version.rb
|
|
131
|
+
- lib/punks/ye_olde_punks_2017.rb
|
|
125
132
|
homepage: https://github.com/cryptopunksnotdead/cryptopunks
|
|
126
133
|
licenses:
|
|
127
134
|
- Public Domain
|
|
@@ -146,7 +153,8 @@ requirements: []
|
|
|
146
153
|
rubygems_version: 3.3.7
|
|
147
154
|
signing_key:
|
|
148
155
|
specification_version: 4
|
|
149
|
-
summary: punks - generate your own 24×24 (or 32×32) punk
|
|
150
|
-
|
|
151
|
-
|
|
156
|
+
summary: punks - generate your own 24×24 (or 32×32) punk (incl. Matt & John's® ye
|
|
157
|
+
olde punk v1/v2 anno 2017 style), phunk, philip, marilyn, saudi/sheik, man in black,
|
|
158
|
+
hottie 'n' more (pixel) avatar / character images (off chain) from text attributes
|
|
159
|
+
(via built-in spritesheets); incl. 2x/4x/8x zoom for bigger sizes and more
|
|
152
160
|
test_files: []
|