Hello Everyone,

I went into this quiz using the following approach. I split the image
into pieces and find for each piece of the image the letter most
similar to this piece. I did it all with image magick. There is room
for improvement in the distance function, but it works ok. I'm sure it
is the slowest solution so far, but it works.

You can find the sourcecode and examples at

http://ruby.brian-schroeder.de/quiz/asciiview/

best regards,

Brian

.                        _,,uuuuu,,_
.                    _u:EEEEEEEEEE{{[p,_
.                  _:EEEEEEEEEEEEEEE{{[Ou
.                 :EEEEEEEEEEEEEEEE{{{{[O3_
.                UEEEEEEEEEEEEEEEE{{E{{{[O3_
.               UEEEEEEEEEEEEEEEEEEEEE{{[S3B
.              ;{EEEEEEEEEEEEEEEEEEEE{{[SO3B$
.             ;{{{EEEEEEEEEEEEEEEEEE{{[[O3333u
.            {[[SQQ{EEEEEEEEEEEEEEE{{[[OO3333B
.           E{{[###${EEEEEEEEEEEE{{[SSSS333333q
.           E{{{###PEEEEEEEEEEE{SSQQ3333O333333
.           {{{{ " LEEEEEEEE{{[S$####$333333333
.           {{{{{:cEEEEEE{{{[[SZZ####Z3O3333OS3
.           F{{{{{{EEjjEEE{[SO35EEEFEEOO3OOOO33
.            F{]###########QQ3993SSSOSOO[[OS33~
.             "f################$Q3O[[[[OSS33~                    L-F"FL
.               I#IIII#############Q[SSOO33P"                 L--"     FE.
.               P######$##IIII####T3SS333P'            LL---F          -EEU
.                ##############T3OOO3OOQ$$$9SSUUUUEEEEEEF-             -EEEE
.             .;{[I##########TS3333S3$IIII$$B3O[{EEEEEFF               -EEEE{
.           LEEEE{O#$I#####@BBB33333$$$II]$$B3O[{EEEEEF-               -EEEE{L
.         LEEEEEEE[O3$$$$$$$$$$$$9BB$$$$$$@B3O[{EEEEEE--             --EEEEE{{
.       LEEEEEEEEEE[3B$$]I]]$$$$$BBBBBBB333O[[{EEEEEEF--          ---EEEEEEE{{
.     LEFFFFFFEEEEE{[3B$$]]$$$$B333OOO[[[{{{EEEEEEEEFF         .EE--EEEEEEEE{{"
.    -FFF-- --FEEEEE{[3B@@@@@B33O[[{{EEEEEEEEEEEFFF     L   E .LEEEEEEEEEEEE{{
.   -FFFF-    -FFEEEEE{[O22OOO[[{EEEEEEEEEFFFEEF  ---  LE  -F .EEEEEEEEEEEE{{
.  LEF---      --FFEEEEEEEEEEEEEEEFFF-FEF    EE   LE  LE" -E EEEEEEEEEEEE{{"
.  EEE---       --FFFEEEEEEEEEEEFF   LEF    LE   LE  -EE LEEEEEEEEEEEEEE{{"
. EEEEEF-          ---FFEEEFEEFF   -EE"   -EF   LEFL-EEEEEEEEEEEEEEEEEE{E"
. EEEE-F---         --F-FFFFFF    -EF   LLE  LLEFEEEEEEEEEEEEEEEEEEEE{{E
. EEEEEE---------     --- ---    LE   LLEFFLEEEEEEEEEEEEEEEEEEEEEEE{{EF
. EEEEEEEEE--F------ - -L--LLLLLEEELLEEE-LEEEEEEEEEEEEEEEEEEEEEEEE{EE"
. FEEEEEEEEEEEE-----L-LLEEEEFF" .""FF"LEEEEEEEEEEEEEEEEEEEEEEEEEEEEE"
.  .EEEEEEEEEEEEEEEEEEEEEEEEEELLLEELLLEEEEEEEEEEEEEEEEEEEEEEEEEEEEF
.  .FEEEEEEEEEEEEEEEEEEEEEEEEEEEFEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEF
.   FEEEEEEEEEEEEEEEEEEEEEEEELLEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEF
.    FEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE"
.     "EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE{{E{EEEEEEEEEF"
.       "FEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE{EEEEEEF"
.          FFEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFF"
.             "FFEEEEEEEEEEEEEEEEEEEEEEEEEEEFFF"
.                  "FFFFFFEEEEEEEEEEEEEEFF"
.                             FF"""""


.                     _yv*/^^^^^^^/#Yy_
.                   y#^              '^#y
.                 y#                    ^#,
.               _#^                       Ty
.              _#                          #y
.              #               ,-           #_
.             #^                             #
.           _#'                              ^g
.          y#  _Y/Xy                          #
.          #   #   Tg                         ^$
.          #   #,^ y^            y**v_         #
.          $    ###^            # _. #         #
.          #     ^             _$_'_,#         #
.          #y _yyyyyyv*gyy_    ^###IIP         #
.           #y#$        ^ ^P*yy_ ''           yf                   ,yvy_
.            ^#$               ^P*y_         y#                _y#^^  ,^#y
.             '# ^P/*+ ,_         _T*      _#^           __yv*P^      '  ^#_
.              Ty~/**^^M ^P**#^v/^y#     _g#yyyyyyyyvY*#P^^                #y
.              y#      '^rr**~'y#^^  _vP^'                                  #_
.           y#P^ #P_         y#^     T                                     Y #
.         _#^    ^#C/xvv-_yYP'                                               ^$
.       y#^        ^^Pr/~^'                                                   #
.     _#^                                                                     #
.    g^                                                                      yT
.   #^                                                       #               #
.  #                                                     F   ^              $^
. #'                                    _P     @    #   g   #              y^
.y^                                    ,^     /    g    ^                 y^
#                                    v                                  y^
.#                                  _/     y    _                       #^
.#                                 Y^    _.    ,                      ,#'
.#                                      r^    _^                     g^
.#                             r/   Yr      *^   _x       '        y#
.^y                                     _       *'   _-          y#^
. #                            __              r               _#^
.  #                          '^      '      '               y#^
.  ^#                                     -                y#^
.    #y                                              _  _YP'
.     ^#,                                       r    _y#^
.       ^#y                                r      _v#^
.          ^#y_                -x     `~ -r   _y*P^
.             ^/*y_               ~/***r__yY/^^
.                 ^^P**YvyyyyyyyyyvvY*/P^^
--
http://ruby.brian-schroeder.de/

Stringed instrument chords: http://chordlist.brian-schroeder.de/