punks 1.0.0 → 2024.1.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -1
- data/Manifest.txt +3 -0
- data/README.md +160 -2
- data/config/nodepunks-24x24.csv +78 -0
- data/config/nodepunks-24x24.png +0 -0
- data/config/punks-12x12.csv +301 -125
- data/config/punks-12x12.png +0 -0
- data/lib/punks/nodepunks.rb +41 -0
- data/lib/punks/version.rb +3 -3
- data/lib/punks.rb +10 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa12f7739cdf719bd193267cbb60360ebac192ee23676421e583e7661b1dc4a1
|
4
|
+
data.tar.gz: 6a024e7c5791214ee950be161e8173f71fe9d25af3663e1b535cb0cf1d7c4d81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 939ea5b393eb3d83f1624d8588484f28e5a64db97ee25e18c778a8457f96ca8422d5f8cfc37822c5411a3934e53d8b263a1f2fa4e1f28c0bb5c93a1b69660703
|
7
|
+
data.tar.gz: 56b93b64a4171a368a6c940609baf7bb648a51846c7628dcdd7d7d9c070ae3cf99cb2bb1b7547f34434952b9c95391e67992b91ff9f02d7563947e348c733bf5
|
data/CHANGELOG.md
CHANGED
data/Manifest.txt
CHANGED
@@ -4,6 +4,8 @@ README.md
|
|
4
4
|
Rakefile
|
5
5
|
config/marcs-24x24.csv
|
6
6
|
config/marcs-24x24.png
|
7
|
+
config/nodepunks-24x24.csv
|
8
|
+
config/nodepunks-24x24.png
|
7
9
|
config/philip-24x24.png
|
8
10
|
config/punks-12x12.csv
|
9
11
|
config/punks-12x12.png
|
@@ -22,6 +24,7 @@ lib/punks/bodies_32.rb
|
|
22
24
|
lib/punks/bodies_40.rb
|
23
25
|
lib/punks/marcs.rb
|
24
26
|
lib/punks/marilyns.rb
|
27
|
+
lib/punks/nodepunks.rb
|
25
28
|
lib/punks/philips.rb
|
26
29
|
lib/punks/phunks.rb
|
27
30
|
lib/punks/pixelart/generator.rb
|
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,164 @@ 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
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/i/alien.png)
|
36
|
+
|
37
|
+
4x:
|
38
|
+
|
39
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/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
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/i/punk0.png)
|
97
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/i/punk1.png)
|
98
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/i/punk2.png)
|
99
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/i/punk3.png)
|
100
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/i/punk4.png)
|
101
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/i/punk5.png)
|
102
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/i/punk6.png)
|
103
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/i/punk7.png)
|
104
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/i/punk8.png)
|
105
|
+
...
|
106
|
+
|
107
|
+
4x:
|
108
|
+
|
109
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/i/punk0@4x.png)
|
110
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/i/punk1@4x.png)
|
111
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/i/punk2@4x.png)
|
112
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/i/punk3@4x.png)
|
113
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/i/punk4@4x.png)
|
114
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/i/punk5@4x.png)
|
115
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/i/punk6@4x.png)
|
116
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/i/punk7@4x.png)
|
117
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/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
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/i/punk12_pink_female@10x.png)
|
137
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/i/punk12_alien_green@10x.png)
|
138
|
+
|
139
|
+
|
140
|
+
and so on and so forth.
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
## Bonus - Factory of Modern Originals (FoMO)
|
146
|
+
|
147
|
+
Do-it-yourself (DIY) - yes, you can! - fab(criate) your own unique punks w/ text attributes (via built-in spritesheets) incl. 2x/4x/8x zoom for bigger sizes and more.
|
148
|
+
|
149
|
+
|
150
|
+
Let's try to fab(ricate) a node punk (24×24):
|
151
|
+
|
152
|
+
```
|
153
|
+
$ fab node maxibiz chinstrap tophat goldchain --zoom=4
|
154
|
+
```
|
155
|
+
|
156
|
+
resulting in:
|
157
|
+
|
158
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/i/nodepunk_maxibiz@4x.png)
|
159
|
+
|
160
|
+
or an ultra-rare (green monster) orc:
|
161
|
+
|
162
|
+
```
|
163
|
+
$ fab node orc chinstrap_light wildhair_red classicshades --zoom=4
|
164
|
+
```
|
165
|
+
|
166
|
+
resulting in:
|
167
|
+
|
168
|
+
![](https://github.com/cryptopunksnotdead/cryptopunks/raw/master/punks/i/nodepunk_orc@4x.png)
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
More [**Factory of Modern Originals (FoMO) »**](https://github.com/profilepic/originals)
|
173
|
+
|
174
|
+
|
175
|
+
|
23
176
|
## Questions? Comments?
|
24
177
|
|
25
|
-
|
178
|
+
Join us in the [Punk Art discord (chat server)]( https://discord.gg/FE3HeXNKRa). Yes you can.
|
179
|
+
Your questions and commetary welcome.
|
180
|
+
|
181
|
+
|
182
|
+
Or post them over at the [Help & Support](https://github.com/geraldb/help) page. Thanks.
|
183
|
+
|
@@ -0,0 +1,78 @@
|
|
1
|
+
id, category, name, more_names
|
2
|
+
0, base, maxibiz,
|
3
|
+
1, base, black,
|
4
|
+
2, base, default,
|
5
|
+
3, base, dark,
|
6
|
+
4, base, light,
|
7
|
+
5, base, albino,
|
8
|
+
6, base, orange,
|
9
|
+
7, base, pink,
|
10
|
+
8, base, zombie,
|
11
|
+
9, base, orc,
|
12
|
+
10, base, alien,
|
13
|
+
11, accessories, mohawk,
|
14
|
+
12, accessories, mohawk2,
|
15
|
+
13, accessories, mohawk-purple,
|
16
|
+
14, accessories, mohawk2-purple,
|
17
|
+
15, accessories, mohawk-red,
|
18
|
+
16, accessories, mohawk2-red,
|
19
|
+
17, accessories, mohawk-blonde,
|
20
|
+
18, accessories, mohawk2-blonde,
|
21
|
+
19, accessories, wildhair,
|
22
|
+
20, accessories, wildhair-blonde,
|
23
|
+
21, accessories, wildhair-red,
|
24
|
+
22, accessories, wildhair-purple,
|
25
|
+
23, accessories, peakspike,
|
26
|
+
24, accessories, peakspike-blonde,
|
27
|
+
25, accessories, bob,
|
28
|
+
26, accessories, bob-blonde,
|
29
|
+
27, accessories, tophat,
|
30
|
+
28, accessories, knittedcap,
|
31
|
+
29, accessories, beanie,
|
32
|
+
30, accessories, cap,
|
33
|
+
31, accessories, capforward,
|
34
|
+
32, accessories, headband,
|
35
|
+
33, accessories, hoodie,
|
36
|
+
34, accessories, goldchain,
|
37
|
+
35, accessories, earring,
|
38
|
+
36, accessories, clownnose,
|
39
|
+
37, accessories, clowneyes,
|
40
|
+
38, accessories, clowneyes-blue,
|
41
|
+
39, accessories, eyemask,
|
42
|
+
40, accessories, 3dglasses,
|
43
|
+
41, accessories, polarizedshades,
|
44
|
+
42, accessories, classicshades,
|
45
|
+
43, accessories, bigshades,
|
46
|
+
44, accessories, coolshades,
|
47
|
+
45, accessories, eyepatch,
|
48
|
+
46, accessories, vr,
|
49
|
+
47, accessories, goat,
|
50
|
+
48, accessories, luxuriousbeard,
|
51
|
+
49, accessories, luxuriousbeard-light,
|
52
|
+
50, accessories, beard,
|
53
|
+
51, accessories, beard-light,
|
54
|
+
52, accessories, chinstrap,
|
55
|
+
53, accessories, chinstrap-light,
|
56
|
+
54, accessories, pipe,
|
57
|
+
55, accessories, cap-small,
|
58
|
+
56, accessories, cap-mcb,
|
59
|
+
57, accessories, cowboyhat,
|
60
|
+
58, accessories, wizardhat,
|
61
|
+
59, accessories, jesterhat,
|
62
|
+
60, accessories, bubblegum,
|
63
|
+
61, accessories, bandana,
|
64
|
+
62, accessories, bandana2,
|
65
|
+
63, accessories, frenchcap,
|
66
|
+
64, accessories, crown,
|
67
|
+
65, accessories, lasereyes-red,
|
68
|
+
66, accessories, lasereyes2-red,
|
69
|
+
67, accessories, lasereyes3-red,
|
70
|
+
68, accessories, lasereyes-green,
|
71
|
+
69, accessories, lasereyes2-green,
|
72
|
+
70, accessories, lasereyes3-green,
|
73
|
+
71, accessories, lasereyes-blue,
|
74
|
+
72, accessories, lasereyes2-blue,
|
75
|
+
73, accessories, lasereyes3-blue,
|
76
|
+
74, accessories, lasereyes-gold,
|
77
|
+
75, accessories, lasereyes2-gold,
|
78
|
+
76, accessories, lasereyes3-gold,
|
Binary file
|
data/config/punks-12x12.csv
CHANGED
@@ -8,128 +8,304 @@ 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,
|
25
|
-
23, base,
|
26
|
-
24, base, blue,
|
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,
|
69
|
-
67,
|
70
|
-
68,
|
71
|
-
69,
|
72
|
-
70,
|
73
|
-
71,
|
74
|
-
72,
|
75
|
-
73,
|
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 (1bit),
|
15
|
+
13, base, ape blue,
|
16
|
+
14, base, ape orange,
|
17
|
+
15, base, ape gold,
|
18
|
+
16, base, ape alien,
|
19
|
+
17, base, ape zombie,
|
20
|
+
18, base, ape female,
|
21
|
+
19, base, alien,
|
22
|
+
20, base, alien orange,
|
23
|
+
21, base, alien lime,
|
24
|
+
22, base, alien green,
|
25
|
+
23, base, alien gold,
|
26
|
+
24, base, alien blue,
|
27
|
+
25, base, alien purple,
|
28
|
+
26, base, alien magenta,
|
29
|
+
27, base, alien red,
|
30
|
+
28, base, alien female,
|
31
|
+
29, base, alien orange female,
|
32
|
+
30, base, alien lime female,
|
33
|
+
31, base, alien green female,
|
34
|
+
32, base, alien gold female,
|
35
|
+
33, base, alien blue female,
|
36
|
+
34, base, alien purple female,
|
37
|
+
35, base, alien magenta female,
|
38
|
+
36, base, alien red female,
|
39
|
+
37, base, orc,
|
40
|
+
38, base, orc female,
|
41
|
+
39, base, orc orange,
|
42
|
+
40, base, demon,
|
43
|
+
41, base, demon female,
|
44
|
+
42, base, demon orange,
|
45
|
+
43, base, bot,
|
46
|
+
44, base, bot orange,
|
47
|
+
45, base, skeleton,
|
48
|
+
46, base, skeleton female,
|
49
|
+
47, base, skeleton orange,
|
50
|
+
48, base, pink female,
|
51
|
+
49, base, pepe,
|
52
|
+
50, base, gold,
|
53
|
+
51, base, orange,
|
54
|
+
52, base, blue,
|
55
|
+
53, base, blue female,
|
56
|
+
54, base, blue female (a),
|
57
|
+
55, base, green,
|
58
|
+
56, base, green female,
|
59
|
+
57, base, red,
|
60
|
+
58, base, red female,
|
61
|
+
59, base, purple,
|
62
|
+
60, base, purple female,
|
63
|
+
61, base, aqua,
|
64
|
+
62, base, vampire,
|
65
|
+
63, base, vampire female,
|
66
|
+
64, base, vampire orange,
|
67
|
+
65, base, mummy,
|
68
|
+
66, base, mummy orange,
|
69
|
+
67, base, davinci,
|
70
|
+
68, base, davinci (a),
|
71
|
+
69, base, shakespeare,
|
72
|
+
70, base, vangogh,
|
73
|
+
71, base, frida,
|
74
|
+
72, base, frida (a),
|
75
|
+
73, base, girlwithpearl,
|
76
|
+
74, base, girlwithpearl pepe,
|
77
|
+
75, base, girlwithpearl bitmap orange,
|
78
|
+
76, base, joe,
|
79
|
+
77, base, joe (a),
|
80
|
+
78, base, donald,
|
81
|
+
79, base, donald (a),
|
82
|
+
80, base, nikki,
|
83
|
+
81, base, nikki (a),
|
84
|
+
82, base, nikki (b),
|
85
|
+
83, base, mundl,
|
86
|
+
84, base, marc,
|
87
|
+
85, base, marc (xl),
|
88
|
+
86, base, bitmap orange,
|
89
|
+
87, base, bitmap pink,
|
90
|
+
88, base, bitmap (1bit),
|
91
|
+
89, base, rock gray,
|
92
|
+
90, base, rock block gray,
|
93
|
+
91, base, rock gold,
|
94
|
+
92, base, rock block gold,
|
95
|
+
93, base, rock pink,
|
96
|
+
94, base, rock pepe,
|
97
|
+
95, base, monke light,
|
98
|
+
96, base, monke orange,
|
99
|
+
97, base, monke pink,
|
100
|
+
98, base, monke orc,
|
101
|
+
99, base, monke alien,
|
102
|
+
100, base, doge,
|
103
|
+
101, base, doge (a),
|
104
|
+
102, base, doge dark,
|
105
|
+
103, base, doge dark (a),
|
106
|
+
104, base, doge zombie,
|
107
|
+
105, base, doge zombie (a),
|
108
|
+
106, base, doge alien,
|
109
|
+
107, base, doge alien (a),
|
110
|
+
108, hair, blonde bob,
|
111
|
+
109, hair, blonde bob (bmp),
|
112
|
+
110, hair, crazy hair (f),
|
113
|
+
111, hair, crazy hair (m),
|
114
|
+
112, hair, mohawk dark,
|
115
|
+
113, hair, peak spike,
|
116
|
+
114, hair, peak spike (rock),
|
117
|
+
115, hair, peak spike red (rock),
|
118
|
+
116, hair, peak spike blonde (rock),
|
119
|
+
117, hair, purple hair,
|
120
|
+
118, hair, purple hair (bmp),
|
121
|
+
119, hair, purple hair (doge),
|
122
|
+
120, hair, straight hair blonde,
|
123
|
+
121, hair, wild blonde,
|
124
|
+
122, hair, wild blonde (bmp),
|
125
|
+
123, hair, wild hair (m),
|
126
|
+
124, hair, wild hair (doge),
|
127
|
+
125, hair, wild hair (f),
|
128
|
+
126, hair, wild white hair,
|
129
|
+
127, hair, wild white hair (doge),
|
130
|
+
128, hair, half shaved,
|
131
|
+
129, hair, half shaved blonde,
|
132
|
+
130, hair, half shaved blonde (bmp),
|
133
|
+
131, hair, half shaved purple,
|
134
|
+
132, hair, mohawk thin,
|
135
|
+
133, hair, mohawk,
|
136
|
+
134, hair, red mohawk,
|
137
|
+
135, hair, red mohawk (bmp),
|
138
|
+
136, hair, red mohawk (doge),
|
139
|
+
137, hair, messy hair (m),
|
140
|
+
138, hair, messy hair (f),
|
141
|
+
139, hair, messy hair green (f),
|
142
|
+
140, hair, messy hair blonde (f),
|
143
|
+
141, hair, dark hair,
|
144
|
+
142, hair, straight hair,
|
145
|
+
143, hair, straight hair dark,
|
146
|
+
144, hair, shaved head,
|
147
|
+
145, hair, blonde short,
|
148
|
+
146, hair, pink short,
|
149
|
+
147, hair, stringy hair,
|
150
|
+
148, hair, frumpy hair (f),
|
151
|
+
149, hair, frumpy hair (m),
|
152
|
+
150, hair, orange side,
|
153
|
+
151, hair, blonde side,
|
154
|
+
152, hair, white side,
|
155
|
+
153, hair, pink with hat,
|
156
|
+
154, hair, clown hair green (f),
|
157
|
+
155, hair, clown hair green (m),
|
158
|
+
156, hair, clown hair blue (m),
|
159
|
+
157, hair, vampire hair,
|
160
|
+
158, hair, pigtails,
|
161
|
+
159, hair, pigtails red,
|
162
|
+
160, hair, pigtails blonde,
|
163
|
+
161, head, bandana,
|
164
|
+
162, head, bandana (xl),
|
165
|
+
163, head, cap,
|
166
|
+
164, head, cap (1bit),
|
167
|
+
165, head, cap red,
|
168
|
+
166, head, cap red (rock),
|
169
|
+
167, head, cap blue,
|
170
|
+
168, head, cap forward,
|
171
|
+
169, head, cowboy hat,
|
172
|
+
170, head, cowboy hat (xl),
|
173
|
+
171, head, headband,
|
174
|
+
172, head, knitted cap,
|
175
|
+
173, head, knitted cap (rock),
|
176
|
+
174, head, top hat,
|
177
|
+
175, head, top hat (rock),
|
178
|
+
176, head, beanie,
|
179
|
+
177, head, do-rag,
|
180
|
+
178, head, police cap,
|
181
|
+
179, head, pilot helmet,
|
182
|
+
180, head, tassle hat,
|
183
|
+
181, head, fedora,
|
184
|
+
182, head, tiara,
|
185
|
+
183, head, crown,
|
186
|
+
184, head, jester hat,
|
187
|
+
185, head, flowers,
|
188
|
+
186, head, sombrero,
|
189
|
+
187, head, birthday hat,
|
190
|
+
188, head, bow,
|
191
|
+
189, head, sun hat,
|
192
|
+
190, head, sun hat (a),
|
193
|
+
191, eyes, 3d glasses,
|
194
|
+
192, eyes, 3d glasses (rock),
|
195
|
+
193, eyes, big shades,
|
196
|
+
194, eyes, classic shades,
|
197
|
+
195, eyes, classic shades (xl),
|
198
|
+
196, eyes, classic shades green,
|
199
|
+
197, eyes, clown eyes green,
|
200
|
+
198, eyes, clown eyes blue,
|
201
|
+
199, eyes, nerd glasses,
|
202
|
+
200, eyes, regular shades,
|
203
|
+
201, eyes, regular shades (xl),
|
204
|
+
202, eyes, vr,
|
205
|
+
203, eyes, vr pro,
|
206
|
+
204, eyes, small shades,
|
207
|
+
205, eyes, laser eyes,
|
208
|
+
206, eyes, laser eyes (rock),
|
209
|
+
207, eyes, laser eyes gold,
|
210
|
+
208, eyes, laser eyes blue,
|
211
|
+
209, eyes, laser eyes blue (rock),
|
212
|
+
210, eyes, eye mask,
|
213
|
+
211, eyes, eye mask (a),
|
214
|
+
212, eyes, horned rim glasses,
|
215
|
+
213, eyes, horned rim glasses (xl),
|
216
|
+
214, eyes, eye patch,
|
217
|
+
215, eyes, eye patch (xl),
|
218
|
+
216, eyes, green eye shadow,
|
219
|
+
217, eyes, purple eye shadow,
|
220
|
+
218, eyes, blue eye shadow,
|
221
|
+
219, eyes, heart shades,
|
222
|
+
220, eyes, noun glasses,
|
223
|
+
221, eyes, noun glasses pink,
|
224
|
+
222, beard, chinstrap,
|
225
|
+
223, beard, big beard,
|
226
|
+
224, beard, luxurious beard,
|
227
|
+
225, beard, luxurious white beard,
|
228
|
+
226, beard, goat,
|
229
|
+
227, beard, front beard dark,
|
230
|
+
228, beard, front beard,
|
231
|
+
229, beard, normal beard,
|
232
|
+
230, beard, normal beard black,
|
233
|
+
231, beard, muttonchops,
|
234
|
+
232, beard, handlebars,
|
235
|
+
233, beard, shadow beard,
|
236
|
+
234, beard, mustache,
|
237
|
+
235, more, clown nose,
|
238
|
+
236, more, earring,
|
239
|
+
237, more, earring (doge),
|
240
|
+
238, more, earring (xl),
|
241
|
+
239, more, earcross,
|
242
|
+
240, more, choker,
|
243
|
+
241, more, pipe,
|
244
|
+
242, more, pipe (bmp),
|
245
|
+
243, more, cigarette,
|
246
|
+
244, more, cigar,
|
247
|
+
245, more, vape,
|
248
|
+
246, more, gold chain,
|
249
|
+
247, more, silver chain,
|
250
|
+
248, more, spots,
|
251
|
+
249, more, mole,
|
252
|
+
250, more, rosy cheeks,
|
253
|
+
251, more, black lipstick,
|
254
|
+
252, more, purple lipstick,
|
255
|
+
253, more, hot lipstick,
|
256
|
+
254, more, pink lipstick,
|
257
|
+
255, more, burgundy lipstick,
|
258
|
+
256, more, green lipstick,
|
259
|
+
257, more, medical mask,
|
260
|
+
258, more, buck teeth,
|
261
|
+
259, more, demon horns,
|
262
|
+
260, more, bubble gum,
|
263
|
+
261, more, tears,
|
264
|
+
262, more, frown,
|
265
|
+
263, hoodies, hoodie,
|
266
|
+
264, hoodies, hoodie green,
|
267
|
+
265, hoodies, hoodie red,
|
268
|
+
266, hoodies, hoodie white,
|
269
|
+
267, hoodies, hood,
|
270
|
+
268, hoodies, hoodie dark,
|
271
|
+
269, hoodies, hood dark,
|
272
|
+
270, hoodies, hoodie ice,
|
273
|
+
271, hoodies, hoodie light,
|
274
|
+
272, hoodies, hood light,
|
275
|
+
273, hoodies, hoodie pink,
|
276
|
+
274, hoodies, hood pink,
|
277
|
+
275, hoodies, hood pharoah,
|
278
|
+
276, hoodies, hood pharoah purple,
|
279
|
+
277, hoodies, hood pharoah purple (a),
|
280
|
+
278, saudis, brown shemagh agal,
|
281
|
+
279, saudis, red shemagh,
|
282
|
+
280, saudis, red shemagh agal,
|
283
|
+
281, saudis, white shemagh,
|
284
|
+
282, saudis, white shemagh agal,
|
285
|
+
283, saudis, white shemagh gold agal,
|
286
|
+
284, fastfood, cap mcd,
|
287
|
+
285, fastfood, cap mcd flipped,
|
288
|
+
286, fastfood, cap mcd white,
|
289
|
+
287, fastfood, cap mcd black,
|
290
|
+
288, fastfood, cap mcd visor (xl),
|
291
|
+
289, fastfood, cap burgerking,
|
292
|
+
290, fastfood, cap subway,
|
293
|
+
291, rgb, regular shades red,
|
294
|
+
292, rgb, regular shades green,
|
295
|
+
293, rgb, regular shades blue,
|
296
|
+
294, rgb, maxibiz laser eyes red,
|
297
|
+
295, rgb, maxibiz laser eyes green,
|
298
|
+
296, rgb, maxibiz laser eyes blue,
|
299
|
+
297, monkes, mohawk (monke),
|
300
|
+
298, monkes, mohawk blonde (monke),
|
301
|
+
299, monkes, mohawk purple (monke),
|
302
|
+
300, monkes, mohawk red (monke),
|
303
|
+
301, monkes, mohawk2 blonde (monke),
|
304
|
+
302, monkes, mohawk2 purple (monke),
|
305
|
+
303, monkes, peak spike (monke),
|
306
|
+
304, monkes, cap red (monke),
|
307
|
+
305, monkes, 3d glasses (monke),
|
308
|
+
306, monkes, clown eyes green (monke),
|
309
|
+
307, monkes, polarized shades (monke),
|
310
|
+
308, monkes, vr pro (monke),
|
311
|
+
309, monkes, clown nose (monke),
|
data/config/punks-12x12.png
CHANGED
Binary file
|
@@ -0,0 +1,41 @@
|
|
1
|
+
module Nodepunk
|
2
|
+
|
3
|
+
class Spritesheet
|
4
|
+
def self.builtin
|
5
|
+
@builtin ||= Pixelart::Spritesheet.read( "#{Pixelart::Module::Punks.root}/config/nodepunks-24x24.png",
|
6
|
+
"#{Pixelart::Module::Punks.root}/config/nodepunks-24x24.csv",
|
7
|
+
width: 24,
|
8
|
+
height: 24 )
|
9
|
+
end
|
10
|
+
|
11
|
+
## note: for now class used for "namespace" only
|
12
|
+
def self.find_by( name: ) ## return archetype/attribute image by name
|
13
|
+
builtin.find_by( name: name )
|
14
|
+
end
|
15
|
+
end # class Spritesheet
|
16
|
+
## add convenience (alternate spelling) alias - why? why not?
|
17
|
+
SpriteSheet = Spritesheet
|
18
|
+
Sheet = Spritesheet
|
19
|
+
Sprite = Spritesheet
|
20
|
+
|
21
|
+
|
22
|
+
class Image < Pixelart::Image
|
23
|
+
def self.generator
|
24
|
+
@generator ||= Artfactory.use( Nodepunk::Sheet.builtin,
|
25
|
+
image_class: Image )
|
26
|
+
end
|
27
|
+
|
28
|
+
|
29
|
+
NAMES = ['node', 'nodes',
|
30
|
+
'nodepunk', 'nodepunks']
|
31
|
+
DEFAULT_ATTRIBUTES = ['maxibiz', 'chinstrap', 'tophat', 'goldchain']
|
32
|
+
|
33
|
+
|
34
|
+
def self.generate( *names )
|
35
|
+
generator.generate( *names )
|
36
|
+
end
|
37
|
+
end # class Image
|
38
|
+
|
39
|
+
|
40
|
+
end # module Nodepunk
|
41
|
+
|
data/lib/punks/version.rb
CHANGED
data/lib/punks.rb
CHANGED
@@ -28,6 +28,9 @@ require_relative 'punks/bodies_40'
|
|
28
28
|
## --- 12x12 series
|
29
29
|
require_relative 'punks/punks_12'
|
30
30
|
|
31
|
+
## more
|
32
|
+
require_relative 'punks/nodepunks' # 24x24
|
33
|
+
|
31
34
|
|
32
35
|
|
33
36
|
### add some convenience shortcuts
|
@@ -78,6 +81,13 @@ PunkV2 = YeOldePunkAnno2017
|
|
78
81
|
Punkv2 = YeOldePunkAnno2017
|
79
82
|
|
80
83
|
|
84
|
+
## add Node too as alias - why? why not?
|
85
|
+
NodePunk = Nodepunk
|
86
|
+
NodePunks = Nodepunk
|
87
|
+
Nodepunks = Nodepunk
|
88
|
+
|
89
|
+
|
90
|
+
|
81
91
|
###
|
82
92
|
# note: for convenience auto include Pixelart namespace!!! - why? why not?
|
83
93
|
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: 1.
|
4
|
+
version: 2024.1.26
|
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-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pixelart
|
@@ -105,6 +105,8 @@ files:
|
|
105
105
|
- Rakefile
|
106
106
|
- config/marcs-24x24.csv
|
107
107
|
- config/marcs-24x24.png
|
108
|
+
- config/nodepunks-24x24.csv
|
109
|
+
- config/nodepunks-24x24.png
|
108
110
|
- config/philip-24x24.png
|
109
111
|
- config/punks-12x12.csv
|
110
112
|
- config/punks-12x12.png
|
@@ -123,6 +125,7 @@ files:
|
|
123
125
|
- lib/punks/bodies_40.rb
|
124
126
|
- lib/punks/marcs.rb
|
125
127
|
- lib/punks/marilyns.rb
|
128
|
+
- lib/punks/nodepunks.rb
|
126
129
|
- lib/punks/philips.rb
|
127
130
|
- lib/punks/phunks.rb
|
128
131
|
- lib/punks/pixelart/generator.rb
|