punks 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e50bed462f0188ba1a5b5694babe2673e9f075c2c2f2c2abe8079c41452c67bc
4
- data.tar.gz: f9628fe82e78d6e98817785f1eebaa90e831ecfd26a841a3a9c6508eac0616f2
3
+ metadata.gz: 0c7565ab563d45083bfb4e27289000c46d364550822b86c2500c35f729ecfde4
4
+ data.tar.gz: a74cc5faaf9abd41bc2332d6f748fae880822568ddbafa721d82ebee53a86f27
5
5
  SHA512:
6
- metadata.gz: 162fe59eae44dabda6dddf2d6c3c0828a41558964db79b9c51122d1d7e6c877e286a1eba7d9b36278a99facda10f80b36c29d5f45a8cfd07486f7c91756a23dd
7
- data.tar.gz: 8f6f1cd4805f24543dde2d53bce1cbdd1c5d30b43af8149c5a890fc1fdaf1fb7fad645d4c76e6ab3f15dbfb5115ed4029d294217da35ac63581a72b6b62bf521
6
+ metadata.gz: 0f77ac27154ef99c391c351df78a82d0f4b37a93d61fe00fb108cfe01165d8c8038798509e8bc7c158f00ded89a83ac9b038487d5982b38eb7379fa50a177ed0
7
+ data.tar.gz: 10c09505c1204eee0c02a64f87c68b2a16ef43cb43155194be8ac69528594323c989dc5f944b2aa1f96363b29198671cdbba401cdcd6d4ccce8444190901c869
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ### 1.0.0
1
+ ### 1.0.1
2
2
  ### 0.0.1 / 2022-06-10
3
3
 
4
4
  * Everything is new. First release
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- The Do-It-Yourself (DIY) [Factory of Modern Originals (FoMO)](https://github.com/pixelartexchange/originals) Presents
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
+ ![](i/alien.png)
36
+
37
+ 4x:
38
+
39
+ ![](i/alien@4x.png)
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
+ ![](i/punk0.png)
97
+ ![](i/punk1.png)
98
+ ![](i/punk2.png)
99
+ ![](i/punk3.png)
100
+ ![](i/punk4.png)
101
+ ![](i/punk5.png)
102
+ ![](i/punk6.png)
103
+ ![](i/punk7.png)
104
+ ![](i/punk8.png)
105
+ ...
106
+
107
+ 4x:
108
+
109
+ ![](i/punk0@4x.png)
110
+ ![](i/punk1@4x.png)
111
+ ![](i/punk2@4x.png)
112
+ ![](i/punk3@4x.png)
113
+ ![](i/punk4@4x.png)
114
+ ![](i/punk5@4x.png)
115
+ ![](i/punk6@4x.png)
116
+ ![](i/punk7@4x.png)
117
+ ![](i/punk8@4x.png)
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
+ ![](i/punk12_pink_female@10x.png)
137
+ ![](i/punk12_alien_green@10x.png)
138
+
139
+
140
+ and so on and so forth.
141
+
142
+
23
143
  ## Questions? Comments?
24
144
 
25
- Post them on the [D.I.Y. Punk (Pixel) Art reddit](https://old.reddit.com/r/DIYPunkArt). Thanks.
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
+
@@ -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, ape,
12
- 10, base, alien,
13
- 11, base, alien green,
14
- 12, base, alien gold,
15
- 13, base, alien purple female,
16
- 14, base, orc,
17
- 15, base, orc female,
18
- 16, base, demon,
19
- 17, base, bot,
20
- 18, base, skeleton,
21
- 19, base, skeleton female,
22
- 20, base, pink female,
23
- 21, base, pepe,
24
- 22, base, gold,
25
- 23, base, orange,
26
- 24, base, blue,
27
- 25, base, blue female,
28
- 26, base, green,
29
- 27, base, green female,
30
- 28, base, red,
31
- 29, base, red female,
32
- 30, base, purple,
33
- 31, base, purple female,
34
- 32, base, aqua,
35
- 33, hair, blonde bob,
36
- 34, hair, crazy hair (f),
37
- 35, hair, crazy hair (m),
38
- 36, hair, mohawk dark,
39
- 37, hair, peak spike,
40
- 38, hair, purple hair,
41
- 39, hair, straight hair blonde,
42
- 40, hair, wild blonde,
43
- 41, hair, wild hair (m),
44
- 42, hair, wild hair (f),
45
- 43, hair, wild white hair,
46
- 44, hair, half shaved,
47
- 45, hair, half shaved blonde,
48
- 46, hair, half shaved purple,
49
- 47, hair, mohawk thin,
50
- 48, hair, mohawk,
51
- 49, hair, red mohawk,
52
- 50, hair, messy hair (m),
53
- 51, hair, messy hair (f),
54
- 52, hair, messy hair green (f),
55
- 53, hair, messy hair blonde (f),
56
- 54, hair, dark hair,
57
- 55, hair, straight hair,
58
- 56, hair, straight hair dark,
59
- 57, hair, shaved head,
60
- 58, hair, blonde short,
61
- 59, hair, pink short,
62
- 60, hair, stringy hair,
63
- 61, hair, frumpy hair (f),
64
- 62, hair, frumpy hair (m),
65
- 63, hair, orange side,
66
- 64, hair, blonde side,
67
- 65, hair, white side,
68
- 66, hair, pink with hat,
69
- 67, hair, clown hair green (f),
70
- 68, hair, clown hair green (m),
71
- 69, hair, clown hair blue (m),
72
- 70, hair, vampire hair,
73
- 71, hair, pigtails,
74
- 72, hair, pigtails red,
75
- 73, hair, pigtails blonde,
76
- 74, head, bandana,
77
- 75, head, cap,
78
- 76, head, cap forward,
79
- 77, head, cowboy hat,
80
- 78, head, headband,
81
- 79, head, knitted cap,
82
- 80, head, top hat,
83
- 81, head, beanie,
84
- 82, head, do-rag,
85
- 83, head, police cap,
86
- 84, head, pilot helmet,
87
- 85, head, tassle hat,
88
- 86, head, fedora,
89
- 87, head, tiara,
90
- 88, eyes, 3d glasses,
91
- 89, eyes, big shades,
92
- 90, eyes, classic shades,
93
- 91, eyes, clown eyes green,
94
- 92, eyes, clown eyes blue,
95
- 93, eyes, nerd glasses,
96
- 94, eyes, regular shades,
97
- 95, eyes, vr,
98
- 96, eyes, small shades,
99
- 97, eyes, laser eyes,
100
- 98, eyes, laser eyes gold,
101
- 99, eyes, eye mask,
102
- 100, eyes, horned rim glasses,
103
- 101, eyes, eye patch,
104
- 102, eyes, green eye shadow,
105
- 103, eyes, purple eye shadow,
106
- 104, eyes, blue eye shadow,
107
- 105, beard, chinstrap,
108
- 106, beard, big beard,
109
- 107, beard, luxurious beard,
110
- 108, beard, goat,
111
- 109, beard, front beard dark,
112
- 110, beard, front beard,
113
- 111, beard, normal beard,
114
- 112, beard, normal beard black,
115
- 113, beard, muttonchops,
116
- 114, beard, handlebars,
117
- 115, beard, shadow beard,
118
- 116, beard, mustache,
119
- 117, more, clown nose,
120
- 118, more, earring,
121
- 119, more, hoodie,
122
- 120, more, choker,
123
- 121, more, pipe,
124
- 122, more, cigarette,
125
- 123, more, vape,
126
- 124, more, gold chain,
127
- 125, more, silver chain,
128
- 126, more, spots,
129
- 127, more, mole,
130
- 128, more, rosy cheeks,
131
- 129, more, black lipstick,
132
- 130, more, purple lipstick,
133
- 131, more, hot lipstick,
134
- 132, more, medical mask,
135
- 133, more, buck teeth,
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,
Binary file
data/lib/punks/version.rb CHANGED
@@ -5,7 +5,7 @@ module Punks
5
5
 
6
6
  MAJOR = 1
7
7
  MINOR = 0
8
- PATCH = 0
8
+ PATCH = 1
9
9
  VERSION = [MAJOR,MINOR,PATCH].join('.')
10
10
 
11
11
  def self.version
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.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-05 00:00:00.000000000 Z
11
+ date: 2024-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pixelart