originals 0.1.0 → 0.1.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: c3867e1b818cebd7b9c563808bff7318af27fd681cefde7d52ed39af67ff43ff
4
- data.tar.gz: e70ff427357f892df830dc343398c34db7640f57eede9951aaf4c8f6bfefc798
3
+ metadata.gz: f68045c61f5f5a49dc7b1d9a6f50de52a56d1e58850c585e0c2499a2fe190331
4
+ data.tar.gz: f95ad22a08ff6cff84f77234db3b85e939d574d316ab97fca554874a4843ee6e
5
5
  SHA512:
6
- metadata.gz: 9f34ca1a5baa49c374bb4022d8d2c83ee8e2ea78543bca1c050f1fb9252804fed021983427310de65b9dff288a1824aec8ed985f6c4ccaaa6ade0bcda687a2ce
7
- data.tar.gz: 1be3dd507e1b33b36f1b7b597892f1cd9638038aeeb8a5af69247ae3156a6cf1fef3467b560f4ad8ca1e853001052cbd186b5dfc1ff43358e0478ec7443e5739
6
+ metadata.gz: e16142514a64007dc6f7b79eeb234f426d1b8d07c72957d24ba4708ebc9b3a949a9f229f3c058c43a0ce76dc8a13add5d46698a5a2f8aeffa275be3fb74ab52b
7
+ data.tar.gz: 1e7e0b7f26c10d8abdf6cef5d0119639d93eb6e74e39bfe7b1b827314e4380235e0f41e8ee0e658e2fb225afbb25ef34742dc4a7f97dddd57b1e9aeeadaafd43
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Factory of Modern Originals (FOMO)
1
+ # Factory of Modern Originals (FoMO)
2
2
 
3
- originals - do-it-yourself (DIY) - yes, you can! - fab(criate) your own unique (pixel) artworks w/ text attributes (via built-in spritesheets) incl. 2x/4x/8x zoom for bigger sizes and more
3
+ Do-it-yourself (DIY) - yes, you can! - fab(criate) your own unique (pixel) artworks w/ text attributes (via built-in spritesheets) incl. 2x/4x/8x zoom for bigger sizes and more
4
4
 
5
5
 
6
6
  * home :: [github.com/pixelartexchange/originals](https://github.com/pixelartexchange/originals)
@@ -81,15 +81,15 @@ resulting in:
81
81
 
82
82
 
83
83
  Let's try the `-b/--background` option with two solid colors
84
- (e.g. `#638596` and `#ffbf00`) and with the built-in ukraine and pride (rainbow) flag:
84
+ (e.g. `0x638596` and `0xffbf00` - r/g/b colors in hex) and with the built-in ukraine and pride (rainbow) flag:
85
85
 
86
86
 
87
87
  ```
88
- $ fab --background=638596 punk male3 peak_spike goat horned_rim_glasses
88
+ $ fab --background=0x638596 punk male3 peak_spike goat horned_rim_glasses
89
89
  # -or-
90
- $ fab -b638596 punk male3 peak_spike goat horned_rim_glasses
90
+ $ fab -b0x638596 punk male3 peak_spike goat horned_rim_glasses
91
91
 
92
- $ fab --background=ffbf00 punk male3 peak_spike goat horned_rim_glasses
92
+ $ fab --background=0xffbf00 punk male3 peak_spike goat horned_rim_glasses
93
93
  $ fab --background=ukraine punk male3 peak_spike goat horned_rim_glasses
94
94
  $ fab --background=pride punk male3 peak_spike goat horned_rim_glasses
95
95
  ```
@@ -162,8 +162,8 @@ $ fab marilyn flowers earring smile
162
162
  $ fab marilyn hot_lipstick big_shades
163
163
 
164
164
  # or with some backgrounds
165
- $ fab --background=638596 marilyn hot_lipstick big_shades
166
- $ fab --background=ffbf00 marilyn hot_lipstick big_shades
165
+ $ fab --background=0x638596 marilyn hot_lipstick big_shades
166
+ $ fab --background=0xffbf00 marilyn hot_lipstick big_shades
167
167
  $ fab --background=ukraine marilyn hot_lipstick big_shades
168
168
  $ fab --background=pride marilyn hot_lipstick big_shades
169
169
  ```
@@ -201,8 +201,8 @@ $ fab doge alien headband
201
201
  $ fab doge dark tiara big_shades
202
202
 
203
203
  # -or- with some backgrounds
204
- $ fab --background=638596 doge dark tiara big_shades
205
- $ fab --background=ffbf00 doge dark tiara big_shades
204
+ $ fab --background=0x638596 doge dark tiara big_shades
205
+ $ fab --background=0xffbf00 doge dark tiara big_shades
206
206
  $ fab --background=ukraine doge dark tiara big_shades
207
207
  $ fab --background=pride doge dark tiara big_shades
208
208
  ```
@@ -227,6 +227,49 @@ resulting in:
227
227
 
228
228
 
229
229
 
230
+
231
+ ### Moonbirds / Owls (42x42)
232
+
233
+
234
+ Let's try some super-rare never-before-seen moonbirds / owls:
235
+
236
+ ```
237
+ $ fab moonbird crescent_golden beak_small_golden eyes_open_golden beanie
238
+ $ fab moonbird tabby_brown beak_small_orange eyes_open_white \
239
+ mcdonalds_red drivethru_onduty mcdonalds_shirt_old_skool
240
+
241
+ # -or- with some backgrounds
242
+ $ fab --background=0x638596 moonbird tabby_brown beak_small_orange eyes_open_white \
243
+ mcdonalds_red drivethru_onduty mcdonalds_shirt_old_skool
244
+ $ fab --background=0xffbf00 moonbird tabby_brown beak_small_orange eyes_open_white \
245
+ mcdonalds_red drivethru_onduty mcdonalds_shirt_old_skool
246
+ $ fab --background=ukraine moonbird tabby_brown beak_small_orange eyes_open_white \
247
+ mcdonalds_red drivethru_onduty mcdonalds_shirt_old_skool
248
+ $ fab --background=pride moonbird tabby_brown beak_small_orange eyes_open_white \
249
+ mcdonalds_red drivethru_onduty mcdonalds_shirt_old_skool
250
+ ```
251
+
252
+ resulting in:
253
+
254
+ ![](https://github.com/pixelartexchange/originals/raw/master/i/moonbird0.png)
255
+ ![](https://github.com/pixelartexchange/originals/raw/master/i/moonbird1.png)
256
+ ![](https://github.com/pixelartexchange/originals/raw/master/i/moonbird1.1.png)
257
+ ![](https://github.com/pixelartexchange/originals/raw/master/i/moonbird1.2.png)
258
+ ![](https://github.com/pixelartexchange/originals/raw/master/i/moonbird1.3.png)
259
+ ![](https://github.com/pixelartexchange/originals/raw/master/i/moonbird1.4.png)
260
+
261
+ 4x (using the `--zoom=4`/`-z4` option)
262
+
263
+ ![](https://github.com/pixelartexchange/originals/raw/master/i/moonbird0@4x.png)
264
+ ![](https://github.com/pixelartexchange/originals/raw/master/i/moonbird1@4x.png)
265
+ ![](https://github.com/pixelartexchange/originals/raw/master/i/moonbird1.1@4x.png)
266
+ ![](https://github.com/pixelartexchange/originals/raw/master/i/moonbird1.2@4x.png)
267
+ ![](https://github.com/pixelartexchange/originals/raw/master/i/moonbird1.3@4x.png)
268
+ ![](https://github.com/pixelartexchange/originals/raw/master/i/moonbird1.4@4x.png)
269
+
270
+
271
+
272
+
230
273
  And so on. Stay tuned for more original artwork series!
231
274
 
232
275
 
data/Rakefile CHANGED
@@ -13,7 +13,7 @@ Hoe.spec 'originals' do
13
13
 
14
14
  self.version = Originals::VERSION
15
15
 
16
- self.summary = "originals - Do-It-Yourself (DIY) Yes, You Can! - Factory of Modern Originals (FOMO) - Fab(criate) Your Own Unique (Pixel) Artworks w/ Text Attributes (Via Built-In Spritesheets) Incl. 2X/4X/8X Zoom for Bigger Sizes And More"
16
+ self.summary = "originals - do-it-yourself (DIY) - yes, you can! - Factory of Modern Originals (FoMO) - fab(criate) your own unique (pixel) artworks w/ 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/pixelartexchange/originals' }
@@ -28,6 +28,7 @@ Hoe.spec 'originals' do
28
28
  self.extra_deps = [
29
29
  ['cryptopunks'],
30
30
  ['shibainus'],
31
+ ['moonbirds'],
31
32
  ]
32
33
 
33
34
  self.licenses = ['Public Domain']
@@ -4,7 +4,7 @@ module Originals
4
4
 
5
5
  MAJOR = 0
6
6
  MINOR = 1
7
- PATCH = 0
7
+ PATCH = 1
8
8
  VERSION = [MAJOR,MINOR,PATCH].join('.')
9
9
 
10
10
  def self.version
data/lib/originals.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  ## 3rd party libs
2
2
  require 'cryptopunks'
3
3
  require 'shibainus'
4
+ require 'moonbirds'
4
5
 
5
6
 
6
7
 
@@ -45,6 +46,10 @@ def self.fabricate( name, *attributes, background: nil ) ## add fac alias - why
45
46
  'shiba', 'shibas',
46
47
  'shibainu', 'shibainus'].include?( key )
47
48
  Originals.factory.shiba( *attributes, background: background )
49
+ elsif ['bird', 'birds',
50
+ 'moonbird', 'moonbirds',
51
+ 'owl', 'owls'].include?( key )
52
+ Originals.factory.bird( *attributes, background: background )
48
53
  else
49
54
  puts "!! ERROR; don't know how to fabricate >#{name}<; sorry"
50
55
  exit 1
@@ -100,6 +105,7 @@ end
100
105
 
101
106
 
102
107
 
108
+ ## add method alias doge, shiba_inu etc. - why? why not?
103
109
  def shiba( *attributes, background: nil )
104
110
  ## note: if no attributes passed in
105
111
  ## default to ['Classic']
@@ -111,6 +117,18 @@ def shiba( *attributes, background: nil )
111
117
  end
112
118
 
113
119
 
120
+ ## add method alis moonbird, owl etc. - why? why not?
121
+ def bird( *attributes, background: nil )
122
+ attributes = ['Brave Glitch'] if attributes.size == 0
123
+
124
+ bird = Moonbird::Image.generate( *attributes )
125
+ bird = _background( bird, background ) if background
126
+ bird
127
+ end
128
+
129
+
130
+
131
+
114
132
  ###
115
133
  # helpers
116
134
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: originals
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.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-05-30 00:00:00.000000000 Z
11
+ date: 2022-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cryptopunks
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: moonbirds
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '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'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rdoc
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -72,9 +86,9 @@ dependencies:
72
86
  - - "~>"
73
87
  - !ruby/object:Gem::Version
74
88
  version: '3.23'
75
- description: originals - Do-It-Yourself (DIY) Yes, You Can! - Factory of Modern Originals
76
- (FOMO) - Fab(criate) Your Own Unique (Pixel) Artworks w/ Text Attributes (Via Built-In
77
- Spritesheets) Incl. 2X/4X/8X Zoom for Bigger Sizes And More
89
+ description: originals - do-it-yourself (DIY) - yes, you can! - Factory of Modern
90
+ Originals (FoMO) - fab(criate) your own unique (pixel) artworks w/ text attributes
91
+ (via built-in spritesheets) incl. 2x/4x/8x zoom for bigger sizes and more
78
92
  email: wwwmake@googlegroups.com
79
93
  executables:
80
94
  - fab
@@ -120,7 +134,7 @@ requirements: []
120
134
  rubygems_version: 3.3.7
121
135
  signing_key:
122
136
  specification_version: 4
123
- summary: originals - Do-It-Yourself (DIY) Yes, You Can! - Factory of Modern Originals
124
- (FOMO) - Fab(criate) Your Own Unique (Pixel) Artworks w/ Text Attributes (Via Built-In
125
- Spritesheets) Incl. 2X/4X/8X Zoom for Bigger Sizes And More
137
+ summary: originals - do-it-yourself (DIY) - yes, you can! - Factory of Modern Originals
138
+ (FoMO) - fab(criate) your own unique (pixel) artworks w/ text attributes (via built-in
139
+ spritesheets) incl. 2x/4x/8x zoom for bigger sizes and more
126
140
  test_files: []