moonbirds 1.1.1 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Manifest.txt +2 -0
- data/README.md +140 -48
- data/Rakefile +2 -4
- data/config/spritesheet_v1-42x42.csv +273 -0
- data/config/spritesheet_v1-42x42.png +0 -0
- data/lib/moonbirds/version.rb +1 -1
- data/lib/moonbirds.rb +52 -2
- metadata +10 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d642ecbbb97883121836693eed3bda621fb782c409602ad5a75098f7214af46
|
4
|
+
data.tar.gz: 5c2f5e07cae316ba9c61d69b110c9a4a26cdf7d2bd25e5f1f1c378dff99b86bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 478f3ec335b559280b2887f0da69ce34feceb5c35b1b89116f0f44e6e2b1043b888cd4fcdc844034f55933d91520e712e742d322020ea7a9f06af1290be43b4d
|
7
|
+
data.tar.gz: c65be9f203bf7e497b95f3453f09021923190926ef9cbf459a7c82853ae4face980d95c3d44731e3f5ed4f3fe1725d32c11a49c19c7956ce40da4b4a3797259a
|
data/Manifest.txt
CHANGED
data/README.md
CHANGED
@@ -1,13 +1,13 @@
|
|
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
|
# 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
|
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
|
|
9
|
-
* home :: [github.com/
|
10
|
-
* bugs :: [github.com/
|
9
|
+
* home :: [github.com/profilepic/text-to-image](https://github.com/profilepic/text-to-image)
|
10
|
+
* bugs :: [github.com/profilepic/text-to-image/issues](https://github.com/profilepic/text-to-image/issues)
|
11
11
|
* gem :: [rubygems.org/gems/moonbirds](https://rubygems.org/gems/moonbirds)
|
12
12
|
* rdoc :: [rubydoc.info/gems/moonbirds](http://rubydoc.info/gems/moonbirds)
|
13
13
|
|
@@ -67,19 +67,19 @@ bird.zoom( 4 ).save( "moonbird1e@4x.png" )
|
|
67
67
|
|
68
68
|
Voila!
|
69
69
|
|
70
|
-
![](https://github.com/
|
71
|
-
![](https://github.com/
|
72
|
-
![](https://github.com/
|
73
|
-
![](https://github.com/
|
74
|
-
![](https://github.com/
|
70
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbird1.png)
|
71
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbird1b.png)
|
72
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbird1c.png)
|
73
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbird1d.png)
|
74
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbird1e.png)
|
75
75
|
|
76
76
|
In 4x:
|
77
77
|
|
78
|
-
![](https://github.com/
|
79
|
-
![](https://github.com/
|
80
|
-
![](https://github.com/
|
81
|
-
![](https://github.com/
|
82
|
-
![](https://github.com/
|
78
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbird1@4x.png)
|
79
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbird1b@4x.png)
|
80
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbird1c@4x.png)
|
81
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbird1d@4x.png)
|
82
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbird1e@4x.png)
|
83
83
|
|
84
84
|
|
85
85
|
|
@@ -101,13 +101,13 @@ bird.zoom( 4 ).save( "moonbird2b@4x.png" )
|
|
101
101
|
|
102
102
|
Voila!
|
103
103
|
|
104
|
-
![](https://github.com/
|
105
|
-
![](https://github.com/
|
104
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbird2.png)
|
105
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbird2b.png)
|
106
106
|
|
107
107
|
In 4x:
|
108
108
|
|
109
|
-
![](https://github.com/
|
110
|
-
![](https://github.com/
|
109
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbird2@4x.png)
|
110
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbird2b@4x.png)
|
111
111
|
|
112
112
|
|
113
113
|
|
@@ -125,18 +125,99 @@ bird.zoom( 4 ).save( "moonbird3b@4x.png" )
|
|
125
125
|
|
126
126
|
Voila!
|
127
127
|
|
128
|
-
![](https://github.com/
|
129
|
-
![](https://github.com/
|
128
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbird3.png)
|
129
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbird3b.png)
|
130
130
|
|
131
131
|
In 4x:
|
132
132
|
|
133
|
-
![](https://github.com/
|
134
|
-
![](https://github.com/
|
133
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbird3@4x.png)
|
134
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbird3b@4x.png)
|
135
135
|
|
136
136
|
|
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
|
@@ -162,13 +243,13 @@ birdie.zoom( 4 ).save( "moonbirdie1b@4x.png" )
|
|
162
243
|
|
163
244
|
Voila!
|
164
245
|
|
165
|
-
![](https://github.com/
|
166
|
-
![](https://github.com/
|
246
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbirdie1.png)
|
247
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbirdie1b.png)
|
167
248
|
|
168
249
|
In 4x:
|
169
250
|
|
170
|
-
![](https://github.com/
|
171
|
-
![](https://github.com/
|
251
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbirdie1@4x.png)
|
252
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbirdie1b@4x.png)
|
172
253
|
|
173
254
|
|
174
255
|
```ruby
|
@@ -189,13 +270,13 @@ birdie.zoom( 4 ).save( "moonbirdie2b@4x.png" )
|
|
189
270
|
|
190
271
|
Voila!
|
191
272
|
|
192
|
-
![](https://github.com/
|
193
|
-
![](https://github.com/
|
273
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbirdie2.png)
|
274
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbirdie2b.png)
|
194
275
|
|
195
276
|
In 4x:
|
196
277
|
|
197
|
-
![](https://github.com/
|
198
|
-
![](https://github.com/
|
278
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbirdie2@4x.png)
|
279
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbirdie2b@4x.png)
|
199
280
|
|
200
281
|
|
201
282
|
|
@@ -212,13 +293,13 @@ birdie.zoom( 4 ).save( "moonbirdie3b@4x.png" )
|
|
212
293
|
|
213
294
|
Voila!
|
214
295
|
|
215
|
-
![](https://github.com/
|
216
|
-
![](https://github.com/
|
296
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbirdie3.png)
|
297
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbirdie3b.png)
|
217
298
|
|
218
299
|
In 4x:
|
219
300
|
|
220
|
-
![](https://github.com/
|
221
|
-
![](https://github.com/
|
301
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbirdie3@4x.png)
|
302
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/moonbirdie3b@4x.png)
|
222
303
|
|
223
304
|
|
224
305
|
And so on.
|
@@ -250,17 +331,17 @@ mcdonalds_red.zoom( 4 ).save( "mcdonalds_red@4x.png" )
|
|
250
331
|
|
251
332
|
Voila!
|
252
333
|
|
253
|
-
![](https://github.com/
|
254
|
-
![](https://github.com/
|
255
|
-
![](https://github.com/
|
256
|
-
![](https://github.com/
|
334
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/3d_glasses.png)
|
335
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/beanie.png)
|
336
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/chromie.png)
|
337
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/mcdonalds_red.png)
|
257
338
|
|
258
339
|
In 4x:
|
259
340
|
|
260
|
-
![](https://github.com/
|
261
|
-
![](https://github.com/
|
262
|
-
![](https://github.com/
|
263
|
-
![](https://github.com/
|
341
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/3d_glasses@4x.png)
|
342
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/beanie@4x.png)
|
343
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/chromie@4x.png)
|
344
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/i/mcdonalds_red@4x.png)
|
264
345
|
|
265
346
|
And so on.
|
266
347
|
|
@@ -270,21 +351,32 @@ And so on.
|
|
270
351
|
|
271
352
|
**42×42px**
|
272
353
|
|
273
|
-
See the [spritesheet-42x42.csv](https://github.com/
|
354
|
+
See the [spritesheet-42x42.csv](https://github.com/profilepic/text-to-image/blob/master/moonbirds/config/spritesheet-42x42.csv) dataset for all attribute names (w/ categories).
|
355
|
+
|
356
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/config/spritesheet-42x42.png)
|
357
|
+
|
358
|
+
(Source: [moonbirds/spritesheet-42x42.png](https://github.com/profilepic/text-to-image/blob/master/moonbirds/config/spritesheet-42x42.png))
|
359
|
+
|
360
|
+
|
361
|
+
|
362
|
+
**42×42px (V1 / Official)**
|
363
|
+
|
364
|
+
See the [spritesheet_v1-42x42.csv](https://github.com/profilepic/text-to-image/blob/master/moonbirds/config/spritesheet_v1-42x42.csv) dataset for all attribute names (w/ categories).
|
365
|
+
|
366
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/config/spritesheet_v1-42x42.png)
|
274
367
|
|
275
|
-
|
368
|
+
(Source: [moonbirds/spritesheet_v1-42x42.png](https://github.com/profilepic/text-to-image/blob/master/moonbirds/config/spritesheet_v1-42x42.png))
|
276
369
|
|
277
|
-
(Source: [moonbirds/spritesheet-42x42.png](https://github.com/pixelartexchange/pixelart/blob/master/moonbirds/config/spritesheet-42x42.png))
|
278
370
|
|
279
371
|
|
280
372
|
|
281
373
|
**Lil' 24×24px**
|
282
374
|
|
283
|
-
See the [spritesheet-24x24.csv](https://github.com/
|
375
|
+
See the [spritesheet-24x24.csv](https://github.com/profilepic/text-to-image/blob/master/moonbirds/config/spritesheet-24x24.csv) dataset for all attribute names (w/ categories).
|
284
376
|
|
285
|
-
![](https://github.com/
|
377
|
+
![](https://github.com/profilepic/text-to-image/raw/master/moonbirds/config/spritesheet-24x24.png)
|
286
378
|
|
287
|
-
(Source: [moonbirds/spritesheet-24x24.png](https://github.com/
|
379
|
+
(Source: [moonbirds/spritesheet-24x24.png](https://github.com/profilepic/text-to-image/blob/master/moonbirds/config/spritesheet-24x24.png))
|
288
380
|
|
289
381
|
|
290
382
|
|
data/Rakefile
CHANGED
@@ -13,10 +13,10 @@ Hoe.spec 'moonbirds' do
|
|
13
13
|
|
14
14
|
self.version = Pixelart::Module::Moonbirds::VERSION
|
15
15
|
|
16
|
-
self.summary = "moonbirds - generate your own 42×42 (or lil' 24×24) pixel owl images (off
|
16
|
+
self.summary = "moonbirds - 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"
|
17
17
|
self.description = summary
|
18
18
|
|
19
|
-
self.urls = { home: 'https://github.com/
|
19
|
+
self.urls = { home: 'https://github.com/profilepic/text-to-image' }
|
20
20
|
|
21
21
|
self.author = 'Gerald Bauer'
|
22
22
|
self.email = 'wwwmake@googlegroups.com'
|
@@ -26,9 +26,7 @@ Hoe.spec 'moonbirds' do
|
|
26
26
|
self.history_file = 'CHANGELOG.md'
|
27
27
|
|
28
28
|
self.extra_deps = [
|
29
|
-
['pixelart', '>= 1.3.2'],
|
30
29
|
['artfactory', '>= 0.2.0'],
|
31
|
-
['backgrounds', '>= 0.2.0'],
|
32
30
|
]
|
33
31
|
|
34
32
|
self.licenses = ['Public Domain']
|
@@ -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
|
data/lib/moonbirds/version.rb
CHANGED
data/lib/moonbirds.rb
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
## 3rd party
|
2
|
-
require 'backgrounds/base'
|
3
2
|
require 'artfactory/base'
|
4
3
|
|
5
4
|
|
6
5
|
|
7
6
|
## our own code
|
8
|
-
|
7
|
+
require_relative 'moonbirds/version' # note: let version always go first
|
9
8
|
|
10
9
|
|
11
10
|
|
@@ -49,6 +48,49 @@ end # module Moonbird
|
|
49
48
|
|
50
49
|
|
51
50
|
|
51
|
+
|
52
|
+
module MoonbirdV1
|
53
|
+
|
54
|
+
class Spritesheet
|
55
|
+
def self.builtin
|
56
|
+
@sheet ||= Pixelart::Spritesheet.read( "#{Pixelart::Module::Moonbirds.root}/config/spritesheet_v1-42x42.png",
|
57
|
+
"#{Pixelart::Module::Moonbirds.root}/config/spritesheet_v1-42x42.csv",
|
58
|
+
width: 42,
|
59
|
+
height: 42 )
|
60
|
+
end
|
61
|
+
|
62
|
+
def self.find_by( name: ) ## return archetype/attribute image by name
|
63
|
+
builtin.find_by( name: name )
|
64
|
+
end
|
65
|
+
end # class Spritesheet
|
66
|
+
## add convenience (alternate spelling) alias - why? why not?
|
67
|
+
SpriteSheet = Spritesheet
|
68
|
+
Sheet = Spritesheet
|
69
|
+
Sprite = Spritesheet
|
70
|
+
|
71
|
+
|
72
|
+
class Image < Pixelart::Image
|
73
|
+
def self.generator
|
74
|
+
@generator ||= Artfactory.use( MoonbirdV1::Sheet.builtin,
|
75
|
+
image_class: Image )
|
76
|
+
end
|
77
|
+
|
78
|
+
|
79
|
+
NAMES = ['birdv1',
|
80
|
+
'moonbirdv1',
|
81
|
+
'owlv1',]
|
82
|
+
DEFAULT_ATTRIBUTES = ['Glitch Legendary Brave', 'Glitch 6']
|
83
|
+
|
84
|
+
def self.generate( *names )
|
85
|
+
generator.generate( *names )
|
86
|
+
end
|
87
|
+
end # class Image
|
88
|
+
end # module MoonbirdV1
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
52
94
|
module Moonbirdie
|
53
95
|
|
54
96
|
class Spritesheet ## note: for now class used for "namespace" only
|
@@ -94,6 +136,14 @@ end # module Moonbirdie
|
|
94
136
|
MoonBird = Moonbird
|
95
137
|
Bird = Moonbird
|
96
138
|
|
139
|
+
## v1s
|
140
|
+
MoonBirdV1 = MoonbirdV1
|
141
|
+
BirdV1 = MoonbirdV1
|
142
|
+
|
143
|
+
Moonbirdv1 = MoonbirdV1
|
144
|
+
Birdv1 = MoonbirdV1
|
145
|
+
|
146
|
+
|
97
147
|
|
98
148
|
## add singular too -why? why not?
|
99
149
|
LilMoonBirdie = Moonbirdie
|
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: moonbirds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.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-
|
11
|
+
date: 2022-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: pixelart
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.3.2
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 1.3.2
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: artfactory
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,20 +24,6 @@ dependencies:
|
|
38
24
|
- - ">="
|
39
25
|
- !ruby/object:Gem::Version
|
40
26
|
version: 0.2.0
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: backgrounds
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: 0.2.0
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 0.2.0
|
55
27
|
- !ruby/object:Gem::Dependency
|
56
28
|
name: rdoc
|
57
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -87,8 +59,8 @@ dependencies:
|
|
87
59
|
- !ruby/object:Gem::Version
|
88
60
|
version: '3.23'
|
89
61
|
description: moonbirds - generate your own 42×42 (or lil' 24×24) pixel owl images
|
90
|
-
(off
|
91
|
-
for bigger sizes and more
|
62
|
+
(off-blockchain) from text attributes (via built-in spritesheets); incl. 2x/4x/8x
|
63
|
+
zoom for bigger sizes and more
|
92
64
|
email: wwwmake@googlegroups.com
|
93
65
|
executables: []
|
94
66
|
extensions: []
|
@@ -105,9 +77,11 @@ files:
|
|
105
77
|
- config/spritesheet-24x24.png
|
106
78
|
- config/spritesheet-42x42.csv
|
107
79
|
- config/spritesheet-42x42.png
|
80
|
+
- config/spritesheet_v1-42x42.csv
|
81
|
+
- config/spritesheet_v1-42x42.png
|
108
82
|
- lib/moonbirds.rb
|
109
83
|
- lib/moonbirds/version.rb
|
110
|
-
homepage: https://github.com/
|
84
|
+
homepage: https://github.com/profilepic/text-to-image
|
111
85
|
licenses:
|
112
86
|
- Public Domain
|
113
87
|
metadata: {}
|
@@ -131,7 +105,7 @@ requirements: []
|
|
131
105
|
rubygems_version: 3.3.7
|
132
106
|
signing_key:
|
133
107
|
specification_version: 4
|
134
|
-
summary: moonbirds - generate your own 42×42 (or lil' 24×24) pixel owl images (off
|
135
|
-
|
136
|
-
|
108
|
+
summary: moonbirds - generate your own 42×42 (or lil' 24×24) pixel owl images (off-blockchain)
|
109
|
+
from text attributes (via built-in spritesheets); incl. 2x/4x/8x zoom for bigger
|
110
|
+
sizes and more
|
137
111
|
test_files: []
|