punks 1.0.0 → 1.0.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/CHANGELOG.md +1 -1
- data/README.md +127 -2
- data/config/punks-12x12.csv +187 -125
- data/config/punks-12x12.png +0 -0
- data/lib/punks/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0c7565ab563d45083bfb4e27289000c46d364550822b86c2500c35f729ecfde4
|
|
4
|
+
data.tar.gz: a74cc5faaf9abd41bc2332d6f748fae880822568ddbafa721d82ebee53a86f27
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f77ac27154ef99c391c351df78a82d0f4b37a93d61fe00fb108cfe01165d8c8038798509e8bc7c158f00ded89a83ac9b038487d5982b38eb7379fa50a177ed0
|
|
7
|
+
data.tar.gz: 10c09505c1204eee0c02a64f87c68b2a16ef43cb43155194be8ac69528594323c989dc5f944b2aa1f96363b29198671cdbba401cdcd6d4ccce8444190901c869
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
The Do-It-Yourself (DIY) [Factory of Modern Originals (FoMO)](https://github.com/
|
|
1
|
+
The Do-It-Yourself (DIY) [Factory of Modern Originals (FoMO)](https://github.com/profilepic/originals) Presents
|
|
2
2
|
|
|
3
3
|
# Punks (Incl. Ye Olde Punks V1/V2 Anno 2017), Phunks, Philips, Marilyns, Marcs, Saudis/Sheiks, Men In Black, Hotties & More (Pixel Characters / Avatars)
|
|
4
4
|
|
|
@@ -20,6 +20,131 @@ Let's generate some super-rare never-before-seen
|
|
|
20
20
|
punk (pixel) avatars / characters...
|
|
21
21
|
|
|
22
22
|
|
|
23
|
+
### 24px
|
|
24
|
+
|
|
25
|
+
``` ruby
|
|
26
|
+
require 'punks'
|
|
27
|
+
|
|
28
|
+
punk = Punk::Image.generate( 'Alien', 'Cap Forward', 'Small Shades', 'Pipe' )
|
|
29
|
+
punk.save( "./alien.png" )
|
|
30
|
+
punk.zoom(4).save( "./alien@4x.png" )
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
resulting in:
|
|
34
|
+
|
|
35
|
+

|
|
36
|
+
|
|
37
|
+
4x:
|
|
38
|
+
|
|
39
|
+

|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
or try a batch:
|
|
43
|
+
|
|
44
|
+
``` ruby
|
|
45
|
+
specs = parse_data( <<TXT )
|
|
46
|
+
Female 1
|
|
47
|
+
Female 2
|
|
48
|
+
Female 3
|
|
49
|
+
Male 1
|
|
50
|
+
Male 2
|
|
51
|
+
Male 3
|
|
52
|
+
Female 2, Blonde Bob, Green Eye Shadow, Hot Lipstick
|
|
53
|
+
Male 1, Mohawk
|
|
54
|
+
Female 3, Wild Hair, Hot Lipstick
|
|
55
|
+
Male 1, Wild Hair, Nerd Glasses, Pipe
|
|
56
|
+
Male 2, Goat, Earring, Wild Hair, Big Shades
|
|
57
|
+
Female 2, Earring, Purple Eye Shadow, Half Shaved, Hot Lipstick
|
|
58
|
+
|
|
59
|
+
Zombie
|
|
60
|
+
Zombie, Crazy Hair, Earring
|
|
61
|
+
Zombie, Bandana, Eye Patch, Earring
|
|
62
|
+
Zombie, Knitted Cap
|
|
63
|
+
Zombie, Top Hat, Nerd Glasses, Cigarette
|
|
64
|
+
Zombie, Wild Hair, 3D Glasses, Smile
|
|
65
|
+
Zombie, Headband, Goat
|
|
66
|
+
Zombie, Cap Forward, Small Shades, Pipe
|
|
67
|
+
Zombie, Beanie, Smile
|
|
68
|
+
Zombie, Hoodie
|
|
69
|
+
|
|
70
|
+
Ape
|
|
71
|
+
Ape, Headband
|
|
72
|
+
Ape, Cap Forward, Earring
|
|
73
|
+
Ape, Knitted Cap
|
|
74
|
+
Ape, Knitted Cap, Small Shades
|
|
75
|
+
Ape, Top Hat, Small Shades
|
|
76
|
+
Ape, Cowboy Hat, 3D Glasses
|
|
77
|
+
Ape, Hoodie
|
|
78
|
+
|
|
79
|
+
Alien
|
|
80
|
+
Alien, Knitted Cap, Earring
|
|
81
|
+
Alien, Knitted Cap, Earring, Medical Mask
|
|
82
|
+
Alien, Headband
|
|
83
|
+
Alien, Cap Forward, Small Shades, Pipe
|
|
84
|
+
TXT
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
specs.each_with_index do |attributes, i|
|
|
88
|
+
punk = Punk::Image.generate( *attributes )
|
|
89
|
+
punk.save( "./punk#{i}.png" )
|
|
90
|
+
punk.zoom(4).save( "./punk#{i}@4x.png" )
|
|
91
|
+
end
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
resulting in:
|
|
95
|
+
|
|
96
|
+

|
|
97
|
+

|
|
98
|
+

|
|
99
|
+

|
|
100
|
+

|
|
101
|
+

|
|
102
|
+

|
|
103
|
+

|
|
104
|
+

|
|
105
|
+
...
|
|
106
|
+
|
|
107
|
+
4x:
|
|
108
|
+
|
|
109
|
+

|
|
110
|
+

|
|
111
|
+

|
|
112
|
+

|
|
113
|
+

|
|
114
|
+

|
|
115
|
+

|
|
116
|
+

|
|
117
|
+

|
|
118
|
+
...
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
### 12px
|
|
123
|
+
|
|
124
|
+
``` ruby
|
|
125
|
+
punk = Punk12::Image.generate( 'Pink Female', 'Blonde Bob', 'Mole' )
|
|
126
|
+
punk.save( "./punk12_pink_female.png" )
|
|
127
|
+
punk.zoom(10).save( "./punk12_pink_female@10x.png" )
|
|
128
|
+
|
|
129
|
+
punk = Punk12::Image.generate( 'Alien Green', 'Hoodie' )
|
|
130
|
+
punk.save( "./punk12_alien_green.png" )
|
|
131
|
+
punk.zoom(10).save( "./punk12_alien_green@10x.png" )
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
resulting in:
|
|
135
|
+
|
|
136
|
+

|
|
137
|
+

|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
and so on and so forth.
|
|
141
|
+
|
|
142
|
+
|
|
23
143
|
## Questions? Comments?
|
|
24
144
|
|
|
25
|
-
|
|
145
|
+
Join us in the [Punk Art discord (chat server)]( https://discord.gg/FE3HeXNKRa). Yes you can.
|
|
146
|
+
Your questions and commetary welcome.
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
Or post them over at the [Help & Support](https://github.com/geraldb/help) page. Thanks.
|
|
150
|
+
|
data/config/punks-12x12.csv
CHANGED
|
@@ -8,128 +8,190 @@ id, category, name, more_names
|
|
|
8
8
|
6, base, female3,
|
|
9
9
|
7, base, female4,
|
|
10
10
|
8, base, zombie,
|
|
11
|
-
9, base,
|
|
12
|
-
10, base,
|
|
13
|
-
11, base,
|
|
14
|
-
12, base,
|
|
15
|
-
13, base,
|
|
16
|
-
14, base,
|
|
17
|
-
15, base,
|
|
18
|
-
16, base,
|
|
19
|
-
17, base,
|
|
20
|
-
18, base,
|
|
21
|
-
19, base,
|
|
22
|
-
20, base,
|
|
23
|
-
21, base,
|
|
24
|
-
22, base, gold,
|
|
25
|
-
23, base,
|
|
26
|
-
24, base,
|
|
27
|
-
25, base,
|
|
28
|
-
26, base,
|
|
29
|
-
27, base,
|
|
30
|
-
28, base,
|
|
31
|
-
29, base,
|
|
32
|
-
30, base,
|
|
33
|
-
31, base,
|
|
34
|
-
32, base,
|
|
35
|
-
33,
|
|
36
|
-
34,
|
|
37
|
-
35,
|
|
38
|
-
36,
|
|
39
|
-
37,
|
|
40
|
-
38,
|
|
41
|
-
39,
|
|
42
|
-
40,
|
|
43
|
-
41,
|
|
44
|
-
42,
|
|
45
|
-
43,
|
|
46
|
-
44,
|
|
47
|
-
45,
|
|
48
|
-
46,
|
|
49
|
-
47,
|
|
50
|
-
48,
|
|
51
|
-
49,
|
|
52
|
-
50,
|
|
53
|
-
51,
|
|
54
|
-
52,
|
|
55
|
-
53,
|
|
56
|
-
54,
|
|
57
|
-
55,
|
|
58
|
-
56,
|
|
59
|
-
57,
|
|
60
|
-
58,
|
|
61
|
-
59,
|
|
62
|
-
60,
|
|
63
|
-
61,
|
|
64
|
-
62,
|
|
65
|
-
63,
|
|
66
|
-
64,
|
|
67
|
-
65,
|
|
68
|
-
66, hair,
|
|
69
|
-
67, hair,
|
|
70
|
-
68, hair,
|
|
71
|
-
69, hair,
|
|
72
|
-
70, hair,
|
|
73
|
-
71, hair,
|
|
74
|
-
72, hair,
|
|
75
|
-
73, hair,
|
|
76
|
-
74,
|
|
77
|
-
75,
|
|
78
|
-
76,
|
|
79
|
-
77,
|
|
80
|
-
78,
|
|
81
|
-
79,
|
|
82
|
-
80,
|
|
83
|
-
81,
|
|
84
|
-
82,
|
|
85
|
-
83,
|
|
86
|
-
84,
|
|
87
|
-
85,
|
|
88
|
-
86,
|
|
89
|
-
87,
|
|
90
|
-
88,
|
|
91
|
-
89,
|
|
92
|
-
90,
|
|
93
|
-
91,
|
|
94
|
-
92,
|
|
95
|
-
93,
|
|
96
|
-
94,
|
|
97
|
-
95,
|
|
98
|
-
96,
|
|
99
|
-
97,
|
|
100
|
-
98,
|
|
101
|
-
99,
|
|
102
|
-
100,
|
|
103
|
-
101,
|
|
104
|
-
102,
|
|
105
|
-
103,
|
|
106
|
-
104,
|
|
107
|
-
105,
|
|
108
|
-
106,
|
|
109
|
-
107,
|
|
110
|
-
108,
|
|
111
|
-
109,
|
|
112
|
-
110,
|
|
113
|
-
111,
|
|
114
|
-
112,
|
|
115
|
-
113,
|
|
116
|
-
114,
|
|
117
|
-
115,
|
|
118
|
-
116,
|
|
119
|
-
117,
|
|
120
|
-
118,
|
|
121
|
-
119,
|
|
122
|
-
120,
|
|
123
|
-
121,
|
|
124
|
-
122,
|
|
125
|
-
123,
|
|
126
|
-
124,
|
|
127
|
-
125,
|
|
128
|
-
126,
|
|
129
|
-
127,
|
|
130
|
-
128,
|
|
131
|
-
129,
|
|
132
|
-
130,
|
|
133
|
-
131,
|
|
134
|
-
132,
|
|
135
|
-
133,
|
|
11
|
+
9, base, zombie female,
|
|
12
|
+
10, base, zombie orange,
|
|
13
|
+
11, base, ape,
|
|
14
|
+
12, base, ape blue,
|
|
15
|
+
13, base, ape orange,
|
|
16
|
+
14, base, ape gold,
|
|
17
|
+
15, base, ape alien,
|
|
18
|
+
16, base, ape zombie,
|
|
19
|
+
17, base, ape female,
|
|
20
|
+
18, base, alien,
|
|
21
|
+
19, base, alien orange,
|
|
22
|
+
20, base, alien lime,
|
|
23
|
+
21, base, alien green,
|
|
24
|
+
22, base, alien gold,
|
|
25
|
+
23, base, alien blue,
|
|
26
|
+
24, base, alien purple,
|
|
27
|
+
25, base, alien magenta,
|
|
28
|
+
26, base, alien red,
|
|
29
|
+
27, base, alien female,
|
|
30
|
+
28, base, alien orange female,
|
|
31
|
+
29, base, alien lime female,
|
|
32
|
+
30, base, alien green female,
|
|
33
|
+
31, base, alien gold female,
|
|
34
|
+
32, base, alien blue female,
|
|
35
|
+
33, base, alien purple female,
|
|
36
|
+
34, base, alien magenta female,
|
|
37
|
+
35, base, alien red female,
|
|
38
|
+
36, base, orc,
|
|
39
|
+
37, base, orc female,
|
|
40
|
+
38, base, orc orange,
|
|
41
|
+
39, base, demon,
|
|
42
|
+
40, base, demon female,
|
|
43
|
+
41, base, demon orange,
|
|
44
|
+
42, base, bot,
|
|
45
|
+
43, base, bot orange,
|
|
46
|
+
44, base, skeleton,
|
|
47
|
+
45, base, skeleton female,
|
|
48
|
+
46, base, skeleton orange,
|
|
49
|
+
47, base, pink female,
|
|
50
|
+
48, base, pepe,
|
|
51
|
+
49, base, gold,
|
|
52
|
+
50, base, orange,
|
|
53
|
+
51, base, blue,
|
|
54
|
+
52, base, blue female,
|
|
55
|
+
53, base, blue female (a),
|
|
56
|
+
54, base, green,
|
|
57
|
+
55, base, green female,
|
|
58
|
+
56, base, red,
|
|
59
|
+
57, base, red female,
|
|
60
|
+
58, base, purple,
|
|
61
|
+
59, base, purple female,
|
|
62
|
+
60, base, aqua,
|
|
63
|
+
61, base, vampire,
|
|
64
|
+
62, base, vampire female,
|
|
65
|
+
63, base, vampire orange,
|
|
66
|
+
64, base, mummy,
|
|
67
|
+
65, base, mummy orange,
|
|
68
|
+
66, hair, blonde bob,
|
|
69
|
+
67, hair, crazy hair (f),
|
|
70
|
+
68, hair, crazy hair (m),
|
|
71
|
+
69, hair, mohawk dark,
|
|
72
|
+
70, hair, peak spike,
|
|
73
|
+
71, hair, purple hair,
|
|
74
|
+
72, hair, straight hair blonde,
|
|
75
|
+
73, hair, wild blonde,
|
|
76
|
+
74, hair, wild hair (m),
|
|
77
|
+
75, hair, wild hair (f),
|
|
78
|
+
76, hair, wild white hair,
|
|
79
|
+
77, hair, half shaved,
|
|
80
|
+
78, hair, half shaved blonde,
|
|
81
|
+
79, hair, half shaved purple,
|
|
82
|
+
80, hair, mohawk thin,
|
|
83
|
+
81, hair, mohawk,
|
|
84
|
+
82, hair, red mohawk,
|
|
85
|
+
83, hair, messy hair (m),
|
|
86
|
+
84, hair, messy hair (f),
|
|
87
|
+
85, hair, messy hair green (f),
|
|
88
|
+
86, hair, messy hair blonde (f),
|
|
89
|
+
87, hair, dark hair,
|
|
90
|
+
88, hair, straight hair,
|
|
91
|
+
89, hair, straight hair dark,
|
|
92
|
+
90, hair, shaved head,
|
|
93
|
+
91, hair, blonde short,
|
|
94
|
+
92, hair, pink short,
|
|
95
|
+
93, hair, stringy hair,
|
|
96
|
+
94, hair, frumpy hair (f),
|
|
97
|
+
95, hair, frumpy hair (m),
|
|
98
|
+
96, hair, orange side,
|
|
99
|
+
97, hair, blonde side,
|
|
100
|
+
98, hair, white side,
|
|
101
|
+
99, hair, pink with hat,
|
|
102
|
+
100, hair, clown hair green (f),
|
|
103
|
+
101, hair, clown hair green (m),
|
|
104
|
+
102, hair, clown hair blue (m),
|
|
105
|
+
103, hair, vampire hair,
|
|
106
|
+
104, hair, pigtails,
|
|
107
|
+
105, hair, pigtails red,
|
|
108
|
+
106, hair, pigtails blonde,
|
|
109
|
+
107, head, bandana,
|
|
110
|
+
108, head, cap,
|
|
111
|
+
109, head, cap red,
|
|
112
|
+
110, head, cap forward,
|
|
113
|
+
111, head, cowboy hat,
|
|
114
|
+
112, head, headband,
|
|
115
|
+
113, head, knitted cap,
|
|
116
|
+
114, head, top hat,
|
|
117
|
+
115, head, beanie,
|
|
118
|
+
116, head, do-rag,
|
|
119
|
+
117, head, police cap,
|
|
120
|
+
118, head, pilot helmet,
|
|
121
|
+
119, head, tassle hat,
|
|
122
|
+
120, head, fedora,
|
|
123
|
+
121, head, tiara,
|
|
124
|
+
122, head, crown,
|
|
125
|
+
123, head, jester hat,
|
|
126
|
+
124, head, flowers,
|
|
127
|
+
125, head, sombrero,
|
|
128
|
+
126, head, birthday hat,
|
|
129
|
+
127, head, bow,
|
|
130
|
+
128, eyes, 3d glasses,
|
|
131
|
+
129, eyes, big shades,
|
|
132
|
+
130, eyes, classic shades,
|
|
133
|
+
131, eyes, clown eyes green,
|
|
134
|
+
132, eyes, clown eyes blue,
|
|
135
|
+
133, eyes, nerd glasses,
|
|
136
|
+
134, eyes, regular shades,
|
|
137
|
+
135, eyes, vr,
|
|
138
|
+
136, eyes, small shades,
|
|
139
|
+
137, eyes, laser eyes,
|
|
140
|
+
138, eyes, laser eyes gold,
|
|
141
|
+
139, eyes, eye mask,
|
|
142
|
+
140, eyes, eye mask (a),
|
|
143
|
+
141, eyes, horned rim glasses,
|
|
144
|
+
142, eyes, eye patch,
|
|
145
|
+
143, eyes, green eye shadow,
|
|
146
|
+
144, eyes, purple eye shadow,
|
|
147
|
+
145, eyes, blue eye shadow,
|
|
148
|
+
146, eyes, heart shades,
|
|
149
|
+
147, beard, chinstrap,
|
|
150
|
+
148, beard, big beard,
|
|
151
|
+
149, beard, luxurious beard,
|
|
152
|
+
150, beard, luxurious white beard,
|
|
153
|
+
151, beard, goat,
|
|
154
|
+
152, beard, front beard dark,
|
|
155
|
+
153, beard, front beard,
|
|
156
|
+
154, beard, normal beard,
|
|
157
|
+
155, beard, normal beard black,
|
|
158
|
+
156, beard, muttonchops,
|
|
159
|
+
157, beard, handlebars,
|
|
160
|
+
158, beard, shadow beard,
|
|
161
|
+
159, beard, mustache,
|
|
162
|
+
160, more, clown nose,
|
|
163
|
+
161, more, earring,
|
|
164
|
+
162, more, hoodie,
|
|
165
|
+
163, more, choker,
|
|
166
|
+
164, more, pipe,
|
|
167
|
+
165, more, cigarette,
|
|
168
|
+
166, more, cigar,
|
|
169
|
+
167, more, vape,
|
|
170
|
+
168, more, gold chain,
|
|
171
|
+
169, more, silver chain,
|
|
172
|
+
170, more, spots,
|
|
173
|
+
171, more, mole,
|
|
174
|
+
172, more, rosy cheeks,
|
|
175
|
+
173, more, black lipstick,
|
|
176
|
+
174, more, purple lipstick,
|
|
177
|
+
175, more, hot lipstick,
|
|
178
|
+
176, more, pink lipstick,
|
|
179
|
+
177, more, burgundy lipstick,
|
|
180
|
+
178, more, medical mask,
|
|
181
|
+
179, more, buck teeth,
|
|
182
|
+
180, more, demon horns,
|
|
183
|
+
181, more, bubble gum,
|
|
184
|
+
182, more, tears,
|
|
185
|
+
183, more, frown,
|
|
186
|
+
184, saudis, brown shemagh agal,
|
|
187
|
+
185, saudis, red shemagh,
|
|
188
|
+
186, saudis, red shemagh agal,
|
|
189
|
+
187, saudis, white shemagh,
|
|
190
|
+
188, saudis, white shemagh agal,
|
|
191
|
+
189, saudis, white shemagh gold agal,
|
|
192
|
+
190, fastfood, cap mcd,
|
|
193
|
+
191, fastfood, cap mcd flipped,
|
|
194
|
+
192, fastfood, cap mcd white,
|
|
195
|
+
193, fastfood, cap mcd black,
|
|
196
|
+
194, fastfood, cap burgerking,
|
|
197
|
+
195, fastfood, cap subway,
|
data/config/punks-12x12.png
CHANGED
|
Binary file
|
data/lib/punks/version.rb
CHANGED
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: 1.0.
|
|
4
|
+
version: 1.0.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: 2024-01-
|
|
11
|
+
date: 2024-01-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pixelart
|