punks 0.4.0 → 0.5.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: 6a4f21b1aeca45079b5c6772a2a121c3ef971607ce52ac3b6a1efb9ccd45e2ec
4
- data.tar.gz: d1efc6ca880ed68d1b326a9a39a9981b322abcde92582ad9e1ce6a1d054eff93
3
+ metadata.gz: d4429011ead769257b53e6970f8d56e17dae68fbf6bb949e602dbab618825636
4
+ data.tar.gz: 9d3d46626b1102698c207d0dbf2143282ea75bd6b85ba6dc79d04c82f27ef9f0
5
5
  SHA512:
6
- metadata.gz: 925682a58d35c0f2efcf3903025e99d99e885b9e2b8d1ee44c05a1460ce9c68a20e46e09468adcd2c46c596a926e1dd5910b53580cc856056973d54efae16183
7
- data.tar.gz: b4c6d9db58534d8f9b10f2b23580e6d0d93a7ecdc914dea18d692f7e1d26800838a330522eda73864b92b2895c75a650842952dac40c347ac9aa0ac3d85c3148
6
+ metadata.gz: b407fdcf952edaf32becd8d7c36c011309054e90f83329769bbf07f59e2cc0966275732c5144a41c43741dadd984f97eac6ab46262965dcbb1002b8eae67e3d1
7
+ data.tar.gz: e8aa0b0cf2081464b77b7bb3233f09d8bb3e8a2e3a3ad703e1d49c88ae8212f1ad7c2047a823ba649e3eaa0e1c646ecf519aa28096f11cdcc0b6ffa3daf9a26a
data/Manifest.txt CHANGED
@@ -2,6 +2,8 @@ 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
@@ -16,6 +18,7 @@ config/saudis-24x24.png
16
18
  lib/punks.rb
17
19
  lib/punks/bodies_32.rb
18
20
  lib/punks/bodies_40.rb
21
+ lib/punks/marcs.rb
19
22
  lib/punks/marilyns.rb
20
23
  lib/punks/philips.rb
21
24
  lib/punks/phunks.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 (Incl. Ye Olde Punks V1/V2 Anno 2017), Phunks, Philips, Marilyns, Saudis/Sheiks, Men In Black, Hotties & More (Pixel Characters / Avatars)
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
 
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 spritesheet); incl. 2x/4x/8x zoom for bigger sizes and more
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, marc, 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 (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 spritesheet); incl. 2x/4x/8x zoom for bigger sizes and more"
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, marc, 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
@@ -41,6 +41,9 @@ module Punk32
41
41
 
42
42
  class Image < Pixelart::Image
43
43
 
44
+ NAMES = ['punk32', 'punks32']
45
+ DEFAULT_ATTRIBUTES = ['Male Mid 2']
46
+
44
47
  def self.generate( *values, patch: nil )
45
48
 
46
49
  attributes = [] ## collect all attribute images (32x32, 24x24, etc.) to merge/paste here
@@ -16,6 +16,9 @@ module Punk40
16
16
 
17
17
  class Image < Pixelart::Image
18
18
 
19
+ NAMES = ['punk40', 'punks40']
20
+ DEFAULT_ATTRIBUTES = ['Male Mid 2']
21
+
19
22
  def self.generate( *values, patch: nil )
20
23
 
21
24
  attributes = [] ## collect all attribute images (32x32, 24x24, etc.) to merge/paste here
@@ -0,0 +1,40 @@
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
+
22
+ class Image < Pixelart::Image
23
+ def self.generator
24
+ @generator ||= Artfactory.use( Sheet.builtin,
25
+ image_class: Image )
26
+ end
27
+
28
+
29
+ NAMES = ['marc', 'marcs']
30
+ DEFAULT_ATTRIBUTES = ['Marc']
31
+
32
+ def self.generate( *names )
33
+ ## note: return marcs "hand-phlipped" by default as phree phunks
34
+ generator.generate( *names ).mirror
35
+ end
36
+ end # class Image
37
+
38
+
39
+ end # module Marc
40
+
@@ -7,6 +7,8 @@ module Marilyn
7
7
  MARILYN_ATTRIBUTES = ['Female 3', 'Wild Blonde', 'Mole',
8
8
  'Blue Eye Shadow']
9
9
 
10
+ NAMES = ['marilyn', 'marilyns']
11
+
10
12
  def self.generate( *values, style: nil )
11
13
  punk = Punk::Image.generate( *MARILYN_ATTRIBUTES,
12
14
  *values, style: style )
data/lib/punks/philips.rb CHANGED
@@ -7,6 +7,10 @@ module Philip
7
7
  ## note: right-looking ("pre-phlipped") philip
8
8
  PHILIP = Pixelart::Image.read( "#{Pixelart::Module::Punks.root}/config/philip-24x24.png" )
9
9
 
10
+
11
+ NAMES = ['philip', 'philips',
12
+ 'philipp', 'philipps' ]
13
+
10
14
  def self.generate( *values )
11
15
  punk = new( 24, 24 )
12
16
  punk.compose!( PHILIP )
data/lib/punks/phunks.rb CHANGED
@@ -3,6 +3,9 @@ module Phunk
3
3
 
4
4
  class Image < Pixelart::Image
5
5
 
6
+ NAMES = ['phunk', 'phunks']
7
+ DEFAULT_ATTRIBUTES = ['Male 2']
8
+
6
9
  def self.generate( *values, style: nil )
7
10
  punk = Punk::Image.generate( *values, style: style )
8
11
  phunk = punk.mirror
data/lib/punks/punks.rb CHANGED
@@ -40,6 +40,12 @@ module Punk
40
40
  @generator ||= GeneratorEx.use( Sheet.builtin, image_class: Image )
41
41
  end
42
42
 
43
+
44
+
45
+
46
+ NAMES = ['punk', 'punks']
47
+ DEFAULT_ATTRIBUTES = ['Male 2']
48
+
43
49
  def self.generate( *values, style: nil, patch: nil )
44
50
 
45
51
  if values[0].is_a?( String )
@@ -26,6 +26,11 @@ module Punkxl
26
26
  @generator ||= Artfactory.use( Punkxl::Sheet.builtin,
27
27
  image_class: Image )
28
28
  end
29
+
30
+
31
+ NAMES = ['punkxl', 'punksxl']
32
+ DEFAULT_ATTRIBUTES = ['Male 2']
33
+
29
34
  def self.generate( *names )
30
35
  generator.generate( *names )
31
36
  end
data/lib/punks/saudis.rb CHANGED
@@ -36,6 +36,11 @@ module Saudi
36
36
  'none'
37
37
  ]
38
38
 
39
+ NAMES = ['saudi', 'saudis',
40
+ 'sheik', 'sheiks']
41
+ DEFAULT_ATTRIBUTES = ['Male 05', 'White Shemag']
42
+
43
+
39
44
  def self.generate( *names )
40
45
  names = names.filter { |name| !NA.include?( Pixelart::Spritesheet.normalize_key( name )) }
41
46
 
data/lib/punks/version.rb CHANGED
@@ -4,8 +4,8 @@ module Module
4
4
  module Punks
5
5
 
6
6
  MAJOR = 0
7
- MINOR = 4
8
- PATCH = 0
7
+ MINOR = 5
8
+ PATCH = 1
9
9
  VERSION = [MAJOR,MINOR,PATCH].join('.')
10
10
 
11
11
  def self.version
@@ -33,6 +33,13 @@ module YeOldePunkAnno2017
33
33
  @generator ||= GeneratorEx.use( Sheet.builtin, image_class: Image )
34
34
  end
35
35
 
36
+
37
+ NAMES = ['punkv1', 'punksv1',
38
+ 'punkv2', 'punksv2',
39
+ 'punk2017', 'punks2017',
40
+ 'yeoldepunk', 'yeoldepunks']
41
+ DEFAULT_ATTRIBUTES = ['Male 2']
42
+
36
43
  def self.generate( *values )
37
44
  generator.generate( *values )
38
45
  end # method Image.generate
data/lib/punks.rb CHANGED
@@ -18,6 +18,7 @@ require 'punks/phunks'
18
18
  require 'punks/marilyns'
19
19
  require 'punks/philips'
20
20
  require 'punks/saudis'
21
+ require 'punks/marcs'
21
22
  require 'punks/ye_olde_punks_2017'
22
23
  ## --- 32x32 series
23
24
  require 'punks/punks_xl'
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.0
4
+ version: 0.5.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-27 00:00:00.000000000 Z
11
+ date: 2022-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pixelart
@@ -87,9 +87,10 @@ dependencies:
87
87
  - !ruby/object:Gem::Version
88
88
  version: '3.23'
89
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 spritesheet); incl. 2x/4x/8x zoom for bigger sizes and more
90
+ ye olde punk v1/v2 anno 2017 style), phunk, philip, marilyn, marc, saudi/sheik,
91
+ man in black, hottie 'n' more (pixel) avatar / character images (off chain) from
92
+ text attributes (via built-in spritesheets); incl. 2x/4x/8x zoom for bigger sizes
93
+ and more
93
94
  email: wwwmake@googlegroups.com
94
95
  executables: []
95
96
  extensions: []
@@ -102,6 +103,8 @@ files:
102
103
  - Manifest.txt
103
104
  - README.md
104
105
  - Rakefile
106
+ - config/marcs-24x24.csv
107
+ - config/marcs-24x24.png
105
108
  - config/philip-24x24.png
106
109
  - config/punks-24x24.csv
107
110
  - config/punks-24x24.png
@@ -116,6 +119,7 @@ files:
116
119
  - lib/punks.rb
117
120
  - lib/punks/bodies_32.rb
118
121
  - lib/punks/bodies_40.rb
122
+ - lib/punks/marcs.rb
119
123
  - lib/punks/marilyns.rb
120
124
  - lib/punks/philips.rb
121
125
  - lib/punks/phunks.rb
@@ -151,7 +155,8 @@ rubygems_version: 3.3.7
151
155
  signing_key:
152
156
  specification_version: 4
153
157
  summary: punks - generate your own 24×24 (or 32×32) punk (incl. Matt & John's® ye
154
- olde punk v1/v2 anno 2017 style), phunk, philip, marilyn, saudi/sheik, man in black,
155
- hottie 'n' more (pixel) avatar / character images (off chain) from text attributes
156
- (via built-in spritesheet); incl. 2x/4x/8x zoom for bigger sizes and more
158
+ olde punk v1/v2 anno 2017 style), phunk, philip, marilyn, marc, saudi/sheik, man
159
+ in black, hottie 'n' more (pixel) avatar / character images (off chain) from text
160
+ attributes (via built-in spritesheets); incl. 2x/4x/8x zoom for bigger sizes and
161
+ more
157
162
  test_files: []