The Do-It-Yourself (DIY) Factory of Modern Originals (FoMO) Presents
Yes, you can! Generate your own 24×24 pixel cat images (off-blockchain) from text attributes (via built-in spritesheet); incl. 2x/4x/8x zoom for bigger sizes and more
- home :: github.com/profilepic/text-to-image
- bugs :: github.com/profilepic/text-to-image/issues
- gem :: rubygems.org/gems/coolcats
- rdoc :: rubydoc.info/gems/coolcats
Let's generate some super-rare never-before-seen coolcats (pixel cats):
require 'coolcats'
coolcat = Coolcat::Image.generate( 'Ditto', 'Beret Red' )
coolcat.save( "coolcat1.png")
coolcat.zoom(4).save( "[email protected]" )
coolcat = Coolcat::Image.generate( 'Hearts', 'Afro Black' )
coolcat.save( "coolcat2.png")
coolcat.zoom(4).save( "[email protected]" )
coolcat = Coolcat::Image.generate( 'Unamused' )
coolcat.save( "coolcat3.png")
coolcat.zoom(4).save( "[email protected]" )
Voila!
In 4x:
## try tv heads
coolcat = Coolcat::Image.generate( 'TV Head White', 'TV Face 404' )
coolcat.save( "coolcat4.png")
coolcat.zoom(4).save( "[email protected]" )
coolcat = Coolcat::Image.generate( 'TV Head Grey', 'TV Face No Signal' )
coolcat.save( "coolcat5.png")
coolcat.zoom(4).save( "[email protected]" )
coolcat = Coolcat::Image.generate( 'TV Head Purple', 'TV Face XP' )
coolcat.save( "coolcat6.png")
coolcat.zoom(4).save( "[email protected]" )
Voila!
In 4x:
## try halloween theme
coolcat = Coolcat::Image.generate( 'Jack' )
coolcat.save( "coolcat7.png")
coolcat.zoom(4).save( "[email protected]" )
coolcat = Coolcat::Image.generate( 'Scream' )
coolcat.save( "coolcat8.png")
coolcat.zoom(4).save( "[email protected]" )
coolcat = Coolcat::Image.generate( 'Beret Red', 'Skull' )
coolcat.save( "coolcat9.png")
coolcat.zoom(4).save( "[email protected]" )
Voila!
In 4x:
And so on.
Let's look-up some attributes:
base = Coolcat::Sheet.find_by( name: 'Base' )
beanie_orange = Coolcat::Sheet.find_by( name: 'Beanie Orange' )
costume_gorilla = Coolcat::Sheet.find_by( name: 'Costume Gorilla' )
overalls_blue = Coolcat::Sheet.find_by( name: 'Overalls Blue' )
base.save( "base.png" )
beanie_orange.save( "beanie_orange.png" )
costume_gorilla.save( "costume_gorilla.png" )
overalls_blue.save( "overalls_blue.png" )
base.zoom( 4 ).save( "[email protected]" )
beanie_orange.zoom( 4 ).save( "[email protected]" )
costume_gorilla.zoom( 4 ).save( "[email protected]" )
overalls_blue.zoom( 4 ).save( "[email protected]" )
Voila!
In 4x:
And so on.
See the spritesheet.csv dataset for all attribute names (w/ categories).
(Source: coolcats/spritesheet.png)
Post them on the D.I.Y. Punk (Pixel) Art reddit. Thanks.