punks 0.4.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/Rakefile +1 -1
- data/lib/punks/bodies_32.rb +3 -0
- data/lib/punks/bodies_40.rb +3 -0
- data/lib/punks/marcs.rb +5 -0
- data/lib/punks/marilyns.rb +2 -0
- data/lib/punks/philips.rb +4 -0
- data/lib/punks/phunks.rb +3 -0
- data/lib/punks/punks.rb +6 -0
- data/lib/punks/punks_xl.rb +5 -0
- data/lib/punks/saudis.rb +5 -0
- data/lib/punks/version.rb +2 -2
- data/lib/punks/ye_olde_punks_2017.rb +7 -0
- metadata +10 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04f7c840e316389747e53502c1414abc4cde289e0c0a1fa7f6a0e443fc046433
|
4
|
+
data.tar.gz: 8195261f1edb82e69b562298acd3783fe6746253fcdf25a2bf82c8c5ca6d50d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b34616cfd87f69041be8a1081dcb93acd52dffd42925bcd74f10bd1e8e9515bc75de09ab396bb22bbc66ebced8551304d3726e6ccf86d9157338c2ebcc77eda6
|
7
|
+
data.tar.gz: d3e22710822b8587a4fb43a5087af14d6cc98620eecee1fe10dfc316aa0b6bd1bc3e9c9c5295fbec179723230982cdef6c35a0d36bb5b3e12b7ce39473dc3da6
|
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 spritesheets); 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 spritesheets); 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' }
|
data/lib/punks/bodies_32.rb
CHANGED
@@ -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
|
data/lib/punks/bodies_40.rb
CHANGED
@@ -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
|
data/lib/punks/marcs.rb
CHANGED
@@ -18,12 +18,17 @@ module Marc
|
|
18
18
|
Sprite = Spritesheet
|
19
19
|
|
20
20
|
|
21
|
+
|
21
22
|
class Image < Pixelart::Image
|
22
23
|
def self.generator
|
23
24
|
@generator ||= Artfactory.use( Sheet.builtin,
|
24
25
|
image_class: Image )
|
25
26
|
end
|
26
27
|
|
28
|
+
|
29
|
+
NAMES = ['marc', 'marcs']
|
30
|
+
DEFAULT_ATTRIBUTES = ['Marc']
|
31
|
+
|
27
32
|
def self.generate( *names )
|
28
33
|
## note: return marcs "hand-phlipped" by default as phree phunks
|
29
34
|
generator.generate( *names ).mirror
|
data/lib/punks/marilyns.rb
CHANGED
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
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 )
|
data/lib/punks/punks_xl.rb
CHANGED
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 Shemagh']
|
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
@@ -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
|
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.5.2
|
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-
|
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,
|
91
|
-
black, hottie 'n' more (pixel) avatar / character images (off chain) from
|
92
|
-
(via built-in spritesheets); incl. 2x/4x/8x zoom for bigger sizes
|
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: []
|
@@ -154,7 +155,8 @@ rubygems_version: 3.3.7
|
|
154
155
|
signing_key:
|
155
156
|
specification_version: 4
|
156
157
|
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
|
158
|
-
hottie 'n' more (pixel) avatar / character images (off chain) from text
|
159
|
-
(via built-in spritesheets); incl. 2x/4x/8x zoom for bigger sizes and
|
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
|
160
162
|
test_files: []
|