Hello,
over at the new (Modern Dotty Spotty) Currency Art org [1]
I added a new /currencydodge.starter [2]) repo, that is, a quick starter
for generating your own free currency dodge collections. Yes, in ruby.
Yes, you can! Generate your own free shiba inu dodge punk dotty spotty
modern art series inspired by Damien Hirst's "The Currency".
Questions and comments welcome. Cheers. Prost.
PS: From the README
Step 1 - Read in the all-in-one composite image
require 'pixelart'
dodges = ImageComposite.read( "i/dodge.png", width: 24, height: 24 )
Step 2 - Turn the 24×24 Pixel Art into Modern Spotty Dotty Art
Let's loop over all punk images in the composites one-by-one:
```
dodges.count.times do |id|
dodge = dodges[id]
···
###
# for testing generate "basic"
# dodge images with spots (no "currency" background)
dodge_spots = dodge.spots( 10 )
dodge_spots.save( "tmp/dodge-#{id}-spots-v1.png" )
dodge_spots = dodge.spots( 5,
spacing: 5, center: [-1,1], radius: [3,6] )
dodge_spots.save( "tmp/dodge-#{id}-spots-v2.png" )
end
and so on...
[1] (Modern Dotty Spotty) Currency Art · GitHub
[2] GitHub - currencyart/currencydodge.starter: DIY (Do-It-Yourself) - Yes, You Can! Currency Art Collection Quick Starter - Generate Your Own Currency Dodge Collections
Hey Gerald,
Pretty neat!
Also if I may make a recommendation, the subject line of the email is kind
of overwhelming and doesn't translate well to small devices In the future
it might be helpful to chop it off at a more concise point and include the
rest in the email body. I was a bit thrown off when I first opened on my
phone.
Onto the code -- is the idea that you turn higher quality doge images into
pixel art?
I also had a question about the directory structure, what is the meaning of
calling the image directory "i"? Does this correspond to the index variable
in the loop?
Best
Anthony
···
On Fri, Oct 1, 2021 at 12:26 PM Gerald Bauer <gerald.bauer@gmail.com> wrote:
Hello,
over at the new (Modern Dotty Spotty) Currency Art org [1]
I added a new /currencydodge.starter [2]) repo, that is, a quick starter
for generating your own free currency dodge collections. Yes, in ruby.
Yes, you can! Generate your own free shiba inu dodge punk dotty spotty
modern art series inspired by Damien Hirst's "The Currency".
Questions and comments welcome. Cheers. Prost.
PS: From the README
Step 1 - Read in the all-in-one composite image
require 'pixelart'
dodges = ImageComposite.read( "i/dodge.png", width: 24, height: 24 )
Step 2 - Turn the 24×24 Pixel Art into Modern Spotty Dotty Art
Let's loop over all punk images in the composites one-by-one:
```
dodges.count.times do |id|
dodge = dodges[id]
###
# for testing generate "basic"
# dodge images with spots (no "currency" background)
dodge_spots = dodge.spots( 10 )
dodge_spots.save( "tmp/dodge-#{id}-spots-v1.png" )
dodge_spots = dodge.spots( 5,
spacing: 5, center: [-1,1], radius: [3,6] )
dodge_spots.save( "tmp/dodge-#{id}-spots-v2.png" )
end
and so on...
[1] https://github.com/currencyart
[2] GitHub - learnpixelart/currency.starter: DIY (Do-It-Yourself) - Yes, You Can! Currency Art Collection Quick Starter - Generate Your Own Currency Collections
Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>
Hello,
Onto the code -- is the idea that you turn higher quality doge images into pixel art?
It's the reverse - the script turns 24x24 into high-definition
(high-def) modern art images (in vector graphics) or save as .png
(with fixed pixel dimensions).
For examples (before and after) see the README [1].
I also had a question about the directory structure, what is the meaning of calling the image directory "i"? Does this correspond to the index variable in the loop?
I know it's kind of paradox considering the massive subject lines
(I write) - the /i directory is just the minimal / short version for
/images (no relation to index or such)
The collections gets stored in o/no1 and o/no2 and such where /o is
the minimal / short version for /output
Happy pixel pushing with ruby. Cheers. Prost.
PS:
Also if I may make a recommendation, the subject line of the email is kind of overwhelming
and doesn't translate well to small devices In the future it might be helpful to chop it off
at a more concise point and include the rest in the email body. I was a bit thrown off when I first opened on my phone.
Well, the idea of a great headline is that it helps you to decide if
you want to read the message - for more examples of "my style" see
r/cryptopunksdev [2] . Maybe get / find a new / better email app that
truncates the headline and continues with ... or such. Only half
joking
I am sure there's something out there.
[1] GitHub - learnpixelart/currency.starter: DIY (Do-It-Yourself) - Yes, You Can! Currency Art Collection Quick Starter - Generate Your Own Currency Collections
[2] https://old.reddit.com/r/CryptoPunksDev