Ruby Pixel Art Programming How-To - The Making of Adam (24x24 Pixel Punk) from Scratch / Zero Using Pixel Art Designs in the ASCII Text Format - 1-Bit Black & White Edition

Hello,

  I put together a 1-bit black & white edition of
The Making of Adam (24x24 Pixel Punk) from Scratch / Zero Using Pixel
Art Designs in the ASCII Text Format [1]
in the Pixel Art How-To series.

  Happy pixel art programming in ruby. Questions and comments welcome.

PS: The script look like:

    require 'pixelart'

    colors = {
      '.' => 0, # transparent
      '0' => 'ffffff', # color 0 - white
      '1' => '000000', # color 1 - black
    }

    img = Image.parse( <<TXT, colors: colors )
    . . . . . . . . . . . . . . . . . . . . . . . .
    . . . . . . . . . . . . . . . . . . . . . . . .
    . . . . . . . . . . . . . . . . . . . . . . . .
    . . . . . . . . . . . . . . . . . . . . . . . .
    . . . . . . . . . . . . . . . . . . . . . . . .
    . . . . . . . . 1 1 1 1 1 1 1 . . . . . . . . .
    . . . . . . . 1 0 0 0 0 0 0 0 1 . . . . . . . .
    . . . . . . 1 0 0 0 0 0 0 0 0 0 1 . . . . . . .
    . . . . . . 1 0 0 0 0 0 0 0 0 0 1 . . . . . . .
    . . . . . . 1 0 0 0 0 0 0 0 0 0 1 . . . . . . .
    . . . . . . 1 0 0 0 0 0 0 0 0 0 1 . . . . . . .
    . . . . . . 1 0 0 1 1 0 0 0 1 1 1 . . . . . . .
    . . . . . 1 0 0 0 1 0 0 0 0 1 0 1 . . . . . . .
    . . . . . 1 0 0 0 0 0 0 0 0 0 0 1 . . . . . . .
    . . . . . 1 1 0 0 0 0 0 0 0 0 0 1 . . . . . . .
    . . . . . . 1 0 0 0 0 0 1 1 0 0 1 . . . . . . .
    . . . . . . 1 0 0 0 0 0 0 0 0 0 1 . . . . . . .
    . . . . . . 1 0 0 0 0 0 0 0 0 0 1 . . . . . . .
    . . . . . . 1 0 0 0 0 1 1 1 0 0 1 . . . . . . .
    . . . . . . 1 0 0 0 0 0 0 0 0 0 1 . . . . . . .
    . . . . . . 1 0 0 0 0 0 0 0 0 1 . . . . . . . .
    . . . . . . 1 0 0 0 1 1 1 1 1 . . . . . . . . .
    . . . . . . 1 0 0 0 1 . . . . . . . . . . . . .
    . . . . . . 1 0 0 0 1 . . . . . . . . . . . . .
    TXT

    img.save( "./i/attributes/face.png" )
    img.zoom(4).save( "./i/attributes/face@4x.png" )

    # ...

[1] pixelart-howto/adam-1bit at master · cryptopunksnotdead/pixelart-howto · GitHub