moonbirds 1.1.0 → 1.2.0

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: 4c2c2b1f9c4ee81c57ba43313e1df853ee8c9c66835a9fbc28ffad39fd913819
4
- data.tar.gz: b2801ac9e9224532869c7b5af98a03ddb9d6dc024678200489d987aec0fdd9fa
3
+ metadata.gz: 70fddaa7f4d0170c7537e2d4b1c1f8d0f0e26a9758dfc559a3fffea6d40eb8d5
4
+ data.tar.gz: 0d18a5ddbf250895fc3c81fc398a3283425e6a3cd5dca757e0711df4cf8e876b
5
5
  SHA512:
6
- metadata.gz: c38e70344182efc24235e0bbe1d0af1f9d166c36377997c42817a022b7ecf2d748b0968b1add798eebaae9eb3c8be05308e3a7d10b398586a2e270a521ca6aee
7
- data.tar.gz: 88ab0b89711ad811dacc169dedbce78d4bba68c542fab6a6c68a97e5506482de4628c5951054f6539e752fc395278494308088de9c90a7a58e6cf47e05283ef4
6
+ metadata.gz: 43fd1873e4667fb4a8c8e107fa8e11ff7ad987197876a8dc2df6fbdac554ca8daae3c0c3c71f0fcb28cd0f875d04861fd53849ef5e990f40bec1339fabdf99ab
7
+ data.tar.gz: d72106bb58ab4490408a9183a04aa5ff8633a1612630803d9d82b6d04d06749dde7d902fe3cbb49ff1b714f97cc325023d4a695fdae49d06780be3f19d8025e3
data/Manifest.txt CHANGED
@@ -6,5 +6,7 @@ config/spritesheet-24x24.csv
6
6
  config/spritesheet-24x24.png
7
7
  config/spritesheet-42x42.csv
8
8
  config/spritesheet-42x42.png
9
+ config/spritesheet_v1-42x42.csv
10
+ config/spritesheet_v1-42x42.png
9
11
  lib/moonbirds.rb
10
12
  lib/moonbirds/version.rb
data/README.md CHANGED
@@ -2,7 +2,7 @@ The Do-It-Yourself (DIY) [Factory of Modern Originals (FoMO)](https://github.com
2
2
 
3
3
  # Moonbirds & Lil' Moonbirdies (Pixel Owls 'n' Friends)
4
4
 
5
- Yes, you can! Generate your own 42×42 (or lil' 24×24) pixel owl 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 42×42 (or lil' 24×24) pixel owl images (off-blockchain) from text attributes (via built-in spritesheets); incl. 2x/4x/8x zoom for bigger sizes and more
6
6
 
7
7
 
8
8
 
@@ -118,11 +118,11 @@ bird = Moonbird::Image.generate( "Brave Glitch" )
118
118
  bird.zoom( 4 ).save( "moonbird3@4x.png" )
119
119
 
120
120
  # let's add a red background
121
- bird = Moonbird::Image.generate( "Brave Glitch" ).background( 'red' )
121
+ bird = bird.background( 'red' )
122
122
  bird.zoom( 4 ).save( "moonbird3b@4x.png" )
123
-
124
123
  ```
125
124
 
125
+
126
126
  Voila!
127
127
 
128
128
  ![](https://github.com/pixelartexchange/pixelart/raw/master/moonbirds/i/moonbird3.png)
@@ -137,6 +137,87 @@ In 4x:
137
137
  And so on.
138
138
 
139
139
 
140
+
141
+ **42×42px (V1 / Official)**
142
+
143
+
144
+ For some background - see
145
+ [**Breaking News: Proof's Moonbirds Token Images Officialy Declared Public Domain (No Rights Reserved) under Creative Commons Zero (CC0) Dedication by Kevin Rose (Chief of Proof) - Thank You!**](https://old.reddit.com/r/DIYPunkArt/comments/who4wm/breaking_news_proofs_moonbirds_token_images/)
146
+
147
+
148
+
149
+ Let's generate some super-rare never-before-seen
150
+ moonbirds (pixel owls) using the official (also known as V1) attributes:
151
+
152
+ ```ruby
153
+ require 'moonbirds'
154
+
155
+ ########
156
+ # Moonbird No. 1
157
+ bird = MoonbirdV1::Image.generate( "Tabby Brown",
158
+ "Small Orange",
159
+ "Open White" )
160
+ bird.save( "moonbird1.png" )
161
+ bird.zoom( 4 ).save( "moonbird1@4x.png" )
162
+
163
+ # let's add 3D Glasses
164
+ bird = MoonbirdV1::Image.generate( "Tabby Brown",
165
+ "Small Orange",
166
+ "Open White",
167
+ "3D Glasses" )
168
+ bird.save( "moonbird1b.png" )
169
+ bird.zoom( 4 ).save( "moonbird1b@4x.png" )
170
+
171
+ ###
172
+ # Moonbird No. 2
173
+ bird = MoonbirdV1::Image.generate( "Golden Legendary Professor",
174
+ "Small Golden",
175
+ "Open Golden" )
176
+ bird.zoom( 4 ).save( "moonbird2@4x.png" )
177
+
178
+ # let's add Beanie
179
+ bird = MoonbirdV1::Image.generate( "Golden Legendary Crescent",
180
+ "Small Golden",
181
+ "Open Golden",
182
+ "Beanie" )
183
+ bird.zoom( 4 ).save( "moonbird2b@4x.png" )
184
+
185
+ ###
186
+ # Moonbird No. 3
187
+ bird = MoonbirdV1::Image.generate( "Glitch Legendary Brave",
188
+ "Glitch 6" )
189
+ bird.zoom( 4 ).save( "moonbird3@4x.png" )
190
+
191
+ # let's add a red background
192
+ bird = bird.background( 'red' )
193
+ bird.zoom( 4 ).save( "moonbird3b@4x.png" )
194
+ ```
195
+
196
+
197
+ Aside - What's the difference?
198
+
199
+ Note: The body attributes use the "official" naming
200
+ e.g. Golden Legendary Crescent
201
+ instead of Cresent Golden or Golden Cresent;
202
+ Glitch Legendary Brave instead of
203
+ Brave Glitch or Glitch Brave and so on.
204
+
205
+ All legendary body attributes
206
+ are WITHOUT beak and eyes and the spritesheet
207
+ includes "stand-alone" beak and eyes to mix'n'match.
208
+
209
+ The legendary bodies with gradient background,
210
+ that is, cosmic, enlightened and jade, are "pre-made"
211
+ include the 1/1 gradient background "out-of-the-box/spritesheet".
212
+
213
+ Easter eggs - The official
214
+ attributes
215
+ include super-rare never-before-seen (& used)
216
+ legendary attributes (eyes, eyewear, headwear) for cosmic, enlightened, & jade moonbirds (incl. a unicorn horn!).
217
+
218
+
219
+
220
+
140
221
  **24×24px**
141
222
 
142
223
  Let's generate some super-rare never-before-seen
@@ -205,7 +286,7 @@ In 4x:
205
286
  birdie = Moonbirdie::Image.generate( "Ruby Skeleton", "Small Ruby", "Moon", "Lincoln" )
206
287
  birdie.zoom( 4 ).save( "moonbirdie@4x.png" )
207
288
 
208
- # let's add a red background
289
+ # let's add a save / glory to ukraine background
209
290
  birdie = birdie.background( 'ukraine' )
210
291
  birdie.zoom( 4 ).save( "moonbirdie3b@4x.png" )
211
292
  ```
@@ -278,6 +359,17 @@ See the [spritesheet-42x42.csv](https://github.com/pixelartexchange/pixelart/blo
278
359
 
279
360
 
280
361
 
362
+ **42×42px (V1 / Official)**
363
+
364
+ See the [spritesheet_v1-42x42.csv](https://github.com/pixelartexchange/pixelart/blob/master/moonbirds/config/spritesheet_v1-42x42.csv) dataset for all attribute names (w/ categories).
365
+
366
+ ![](https://github.com/pixelartexchange/pixelart/raw/master/moonbirds/config/spritesheet_v1-42x42.png)
367
+
368
+ (Source: [moonbirds/spritesheet_v1-42x42.png](https://github.com/pixelartexchange/pixelart/blob/master/moonbirds/config/spritesheet_v1-42x42.png))
369
+
370
+
371
+
372
+
281
373
  **Lil' 24×24px**
282
374
 
283
375
  See the [spritesheet-24x24.csv](https://github.com/pixelartexchange/pixelart/blob/master/moonbirds/config/spritesheet-24x24.csv) dataset for all attribute names (w/ categories).
@@ -0,0 +1,273 @@
1
+ id, category, name, more_names
2
+ 0, , brave-black,
3
+ 1, , crescent-black,
4
+ 2, , emperor-black,
5
+ 3, , guardian-black,
6
+ 4, , professor-black,
7
+ 5, , sage-black,
8
+ 6, , stark-black,
9
+ 7, , tabby-black,
10
+ 8, , tranquil-black,
11
+ 9, , brave-gray,
12
+ 10, , crescent-gray,
13
+ 11, , emperor-gray,
14
+ 12, , guardian-gray,
15
+ 13, , professor-gray,
16
+ 14, , sage-gray,
17
+ 15, , stark-gray,
18
+ 16, , tabby-gray,
19
+ 17, , tranquil-gray,
20
+ 18, , brave-brown,
21
+ 19, , crescent-brown,
22
+ 20, , emperor-brown,
23
+ 21, , guardian-brown,
24
+ 22, , professor-brown,
25
+ 23, , sage-brown,
26
+ 24, , stark-brown,
27
+ 25, , tabby-brown,
28
+ 26, , tranquil-brown,
29
+ 27, , brave-blue,
30
+ 28, , crescent-blue,
31
+ 29, , emperor-blue,
32
+ 30, , guardian-blue,
33
+ 31, , professor-blue,
34
+ 32, , sage-blue,
35
+ 33, , stark-blue,
36
+ 34, , tabby-blue,
37
+ 35, , tranquil-blue,
38
+ 36, , brave-green,
39
+ 37, , crescent-green,
40
+ 38, , emperor-green,
41
+ 39, , guardian-green,
42
+ 40, , professor-green,
43
+ 41, , sage-green,
44
+ 42, , stark-green,
45
+ 43, , tabby-green,
46
+ 44, , tranquil-green,
47
+ 45, , brave-pink,
48
+ 46, , crescent-pink,
49
+ 47, , emperor-pink,
50
+ 48, , guardian-pink,
51
+ 49, , professor-pink,
52
+ 50, , sage-pink,
53
+ 51, , stark-pink,
54
+ 52, , tabby-pink,
55
+ 53, , tranquil-pink,
56
+ 54, , brave-purple,
57
+ 55, , crescent-purple,
58
+ 56, , emperor-purple,
59
+ 57, , guardian-purple,
60
+ 58, , professor-purple,
61
+ 59, , sage-purple,
62
+ 60, , stark-purple,
63
+ 61, , tabby-purple,
64
+ 62, , tranquil-purple,
65
+ 63, , brave-red,
66
+ 64, , crescent-red,
67
+ 65, , emperor-red,
68
+ 66, , guardian-red,
69
+ 67, , professor-red,
70
+ 68, , sage-red,
71
+ 69, , stark-red,
72
+ 70, , tabby-red,
73
+ 71, , tranquil-red,
74
+ 72, , brave-white,
75
+ 73, , crescent-white,
76
+ 74, , emperor-white,
77
+ 75, , guardian-white,
78
+ 76, , professor-white,
79
+ 77, , sage-white,
80
+ 78, , stark-white,
81
+ 79, , tabby-white,
82
+ 80, , tranquil-white,
83
+ 81, , skeleton-bone,
84
+ 82, , ruby_skeleton-legendary_bone,
85
+ 83, , robot-metal,
86
+ 84, , golden-legendary_crescent,
87
+ 85, , golden-legendary_emperor,
88
+ 86, , golden-legendary_professor,
89
+ 87, , golden-legendary_sage,
90
+ 88, , glitch-legendary_brave,
91
+ 89, , glitch-legendary_crescent,
92
+ 90, , glitch-legendary_emperor,
93
+ 91, , glitch-legendary_guardian,
94
+ 92, , glitch-legendary_professor,
95
+ 93, , glitch-legendary_sage,
96
+ 94, , cosmic-legendary_brave,
97
+ 95, , cosmic-legendary_crescent,
98
+ 96, , cosmic-legendary_emperor,
99
+ 97, , cosmic-legendary_guardian,
100
+ 98, , cosmic-legendary_professor,
101
+ 99, , cosmic-legendary_sage,
102
+ 100, , enlightened-legendary_brave,
103
+ 101, , enlightened-legendary_crescent,
104
+ 102, , enlightened-legendary_emperor,
105
+ 103, , enlightened-legendary_guardian,
106
+ 104, , enlightened-legendary_professor,
107
+ 105, , enlightened-legendary_sage,
108
+ 106, , jade-legendary_brave,
109
+ 107, , jade-legendary_crescent,
110
+ 108, , jade-legendary_emperor,
111
+ 109, , jade-legendary_guardian,
112
+ 110, , jade-legendary_professor,
113
+ 111, , jade-legendary_sage,
114
+ 112, , long-gray,
115
+ 113, , short-gray,
116
+ 114, , small-gray,
117
+ 115, , long-orange,
118
+ 116, , short-orange,
119
+ 117, , small-orange,
120
+ 118, , long-skeleton,
121
+ 119, , short-skeleton,
122
+ 120, , small-skeleton,
123
+ 121, , long-ruby,
124
+ 122, , short-ruby,
125
+ 123, , small-ruby,
126
+ 124, , long-robot,
127
+ 125, , short-robot,
128
+ 126, , small-robot,
129
+ 127, , long-golden,
130
+ 128, , short-golden,
131
+ 129, , small-golden,
132
+ 130, , small_(cosmic),
133
+ 131, , small_(enlightened),
134
+ 132, , short_(jade),
135
+ 133, , small_(jade),
136
+ 134, , angry-gray,
137
+ 135, , discerning-gray,
138
+ 136, , open-gray,
139
+ 137, , relaxed-gray,
140
+ 138, , side-eye-gray,
141
+ 139, , angry-blue,
142
+ 140, , discerning-blue,
143
+ 141, , open-blue,
144
+ 142, , relaxed-blue,
145
+ 143, , side-eye-blue,
146
+ 144, , angry-purple,
147
+ 145, , discerning-purple,
148
+ 146, , open-purple,
149
+ 147, , relaxed-purple,
150
+ 148, , side-eye-purple,
151
+ 149, , angry-red,
152
+ 150, , discerning-red,
153
+ 151, , open-red,
154
+ 152, , relaxed-red,
155
+ 153, , side-eye-red,
156
+ 154, , angry-green,
157
+ 155, , discerning-green,
158
+ 156, , open-green,
159
+ 157, , relaxed-green,
160
+ 158, , side-eye-green,
161
+ 159, , angry-yellow,
162
+ 160, , discerning-yellow,
163
+ 161, , open-yellow,
164
+ 162, , relaxed-yellow,
165
+ 163, , side-eye-yellow,
166
+ 164, , angry-white,
167
+ 165, , discerning-white,
168
+ 166, , open-white,
169
+ 167, , relaxed-white,
170
+ 168, , side-eye-white,
171
+ 169, , adorable-epic,
172
+ 170, , diamond-epic,
173
+ 171, , fire-epic,
174
+ 172, , heart-epic,
175
+ 173, , moon-epic,
176
+ 174, , rainbow-epic,
177
+ 175, , angry-skeleton,
178
+ 176, , discerning-skeleton,
179
+ 177, , open-skeleton,
180
+ 178, , relaxed-skeleton,
181
+ 179, , adorable-skeleton,
182
+ 180, , fire-skeleton,
183
+ 181, , angry-robot,
184
+ 182, , open-robot,
185
+ 183, , angry-golden,
186
+ 184, , discerning-golden,
187
+ 185, , open-golden,
188
+ 186, , relaxed-golden,
189
+ 187, , side-eye-golden,
190
+ 188, , glitch_1,
191
+ 189, , glitch_2,
192
+ 190, , glitch_3,
193
+ 191, , glitch_4,
194
+ 192, , glitch_5,
195
+ 193, , glitch_6,
196
+ 194, , open_(cosmic),
197
+ 195, , closed_(enlightened),
198
+ 196, , open_(enlightened),
199
+ 197, , relaxed_(enlightened),
200
+ 198, , open_(jade),
201
+ 199, , relaxed_(jade),
202
+ 200, , 3d_glasses,
203
+ 201, , aviators,
204
+ 202, , big_tech,
205
+ 203, , black-rimmed_glasses,
206
+ 204, , eyepatch,
207
+ 205, , gazelles,
208
+ 206, , half-moon_spectacles,
209
+ 207, , jobs_glasses,
210
+ 208, , monocle,
211
+ 209, , rose-colored_glasses,
212
+ 210, , sunglasses,
213
+ 211, , visor,
214
+ 212, , monocle_(jade),
215
+ 213, , visor_(jade),
216
+ 214, , aviators_cap,
217
+ 215, , backwards_hat,
218
+ 216, , bandana,
219
+ 217, , beanie,
220
+ 218, , bow,
221
+ 219, , bucket_hat,
222
+ 220, , captains_cap,
223
+ 221, , chromie,
224
+ 222, , cowboy_hat,
225
+ 223, , crescent_talisman,
226
+ 224, , dancing_flame,
227
+ 225, , diamond,
228
+ 226, , durag,
229
+ 227, , fire,
230
+ 228, , flower,
231
+ 229, , forest_ranger,
232
+ 230, , grail,
233
+ 231, , gremplin,
234
+ 232, , halo,
235
+ 233, , headband,
236
+ 234, , headphones,
237
+ 235, , heros_cap,
238
+ 236, , karate_band,
239
+ 237, , lincoln,
240
+ 238, , mohawk_(green),
241
+ 239, , mohawk_(pink),
242
+ 240, , moon_hat,
243
+ 241, , pirates_hat,
244
+ 242, , queens_crown,
245
+ 243, , raincloud,
246
+ 244, , rubber_duck,
247
+ 245, , skully,
248
+ 246, , space_helmet,
249
+ 247, , tiara,
250
+ 248, , tiny_crown,
251
+ 249, , witchs_hat,
252
+ 250, , wizards_hat,
253
+ 251, , dancing_flame_(enlightened),
254
+ 252, , halo_(enlightened),
255
+ 253, , tiny_crown_(enlightened),
256
+ 254, , crescent_talisman_(jade),
257
+ 255, , dancing_flame_(jade),
258
+ 256, , diamond_(jade),
259
+ 257, , halo_(jade),
260
+ 258, , mohawk_(jade),
261
+ 259, , parliament_mask_(jade),
262
+ 260, , skully_(jade),
263
+ 261, , tiny_crown_(jade),
264
+ 262, , unicorn_horn_(jade),
265
+ 263, , wizards_hat_(jade),
266
+ 264, , bomber_jacket,
267
+ 265, , diamond_necklace,
268
+ 266, , gold_chain,
269
+ 267, , heros_tunic,
270
+ 268, , hoodie,
271
+ 269, , hoodie_down,
272
+ 270, , jean_jacket,
273
+ 271, , punk_jacket,
Binary file
@@ -4,7 +4,7 @@ module Module
4
4
  module Moonbirds
5
5
 
6
6
  MAJOR = 1
7
- MINOR = 1
7
+ MINOR = 2
8
8
  PATCH = 0
9
9
  VERSION = [MAJOR,MINOR,PATCH].join('.')
10
10
 
data/lib/moonbirds.rb CHANGED
@@ -35,6 +35,12 @@ module Moonbird
35
35
  image_class: Image )
36
36
  end
37
37
 
38
+
39
+ NAMES = ['bird', 'birds',
40
+ 'moonbird', 'moonbirds',
41
+ 'owl', 'owls']
42
+ DEFAULT_ATTRIBUTES = ['Brave Glitch']
43
+
38
44
  def self.generate( *names )
39
45
  generator.generate( *names )
40
46
  end
@@ -43,6 +49,49 @@ end # module Moonbird
43
49
 
44
50
 
45
51
 
52
+
53
+ module MoonbirdV1
54
+
55
+ class Spritesheet
56
+ def self.builtin
57
+ @sheet ||= Pixelart::Spritesheet.read( "#{Pixelart::Module::Moonbirds.root}/config/spritesheet_v1-42x42.png",
58
+ "#{Pixelart::Module::Moonbirds.root}/config/spritesheet_v1-42x42.csv",
59
+ width: 42,
60
+ height: 42 )
61
+ end
62
+
63
+ def self.find_by( name: ) ## return archetype/attribute image by name
64
+ builtin.find_by( name: name )
65
+ end
66
+ end # class Spritesheet
67
+ ## add convenience (alternate spelling) alias - why? why not?
68
+ SpriteSheet = Spritesheet
69
+ Sheet = Spritesheet
70
+ Sprite = Spritesheet
71
+
72
+
73
+ class Image < Pixelart::Image
74
+ def self.generator
75
+ @generator ||= Artfactory.use( MoonbirdV1::Sheet.builtin,
76
+ image_class: Image )
77
+ end
78
+
79
+
80
+ NAMES = ['birdv1',
81
+ 'moonbirdv1',
82
+ 'owlv1',]
83
+ DEFAULT_ATTRIBUTES = ['Glitch Legendary Brave', 'Glitch 6']
84
+
85
+ def self.generate( *names )
86
+ generator.generate( *names )
87
+ end
88
+ end # class Image
89
+ end # module MoonbirdV1
90
+
91
+
92
+
93
+
94
+
46
95
  module Moonbirdie
47
96
 
48
97
  class Spritesheet ## note: for now class used for "namespace" only
@@ -69,6 +118,13 @@ module Moonbirdie
69
118
  image_class: Image )
70
119
  end
71
120
 
121
+ NAMES = ['birdie', 'birdies',
122
+ 'lilbirdie', 'lilbirdies',
123
+ 'moonbirdie', 'moonbirdies',
124
+ 'lilmoonbirdie', 'lilmoonbirdies',
125
+ 'burd', 'burds']
126
+ DEFAULT_ATTRIBUTES = ['Ruby Skeleton', 'Small Ruby', 'Moon', 'Lincoln']
127
+
72
128
  def self.generate( *names )
73
129
  generator.generate( *names )
74
130
  end
@@ -81,6 +137,14 @@ end # module Moonbirdie
81
137
  MoonBird = Moonbird
82
138
  Bird = Moonbird
83
139
 
140
+ ## v1s
141
+ MoonBirdV1 = MoonbirdV1
142
+ BirdV1 = MoonbirdV1
143
+
144
+ Moonbirdv1 = MoonbirdV1
145
+ Birdv1 = MoonbirdV1
146
+
147
+
84
148
 
85
149
  ## add singular too -why? why not?
86
150
  LilMoonBirdie = Moonbirdie
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moonbirds
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
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-09-18 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
  - config/spritesheet-24x24.png
106
106
  - config/spritesheet-42x42.csv
107
107
  - config/spritesheet-42x42.png
108
+ - config/spritesheet_v1-42x42.csv
109
+ - config/spritesheet_v1-42x42.png
108
110
  - lib/moonbirds.rb
109
111
  - lib/moonbirds/version.rb
110
112
  homepage: https://github.com/pixelartexchange/pixelart