ASCII Womb

ASCII Womb

ASCII womb is a command line tool entirely written in Clojure to convert your images (PNG, JPG etc.) into an ASCII art. I wrote this tool to get more familiar with Clojure in general. The output e.g. looks like this:

--------------------------------GHw*-----------------------------------------------------------------
--------------------------------*&G*G*------------------------------+*wG+----------------------------
--------------------------------w&#H-*GwwwwwwwwwGGwwwwwHHGMGwwwwwwwwH#&M+----------------------------
--------------------------------*&%&G------------------------------G#G+------------------------------
---------------------------------+&#H--Gw+*ww-----------ww**--w#*-+M---------------------------------
---------------------------------+#w--+M%&G&MH----------MM%&#&%w---M---------------------------------
------------------------------*wwG#+--G%##w-------------*GG#w&Gw+--H---------------------------------
---------------------------*Gw+--Gw--H**+--------------------GG*--+G---------------------------------
--------------------------MG-----H+---------------------------w---+H---------------------------------
------------------------*Gw-----*M*--------------------------------wG+-------------------------------
----------------------+G*-------wG-------wGG---------------++--------wG+-----------------------------
---------------------+M-------+HG-------wM+wG----w-------wwwHH*-------+M*----------------------------
--------------------wG-------*H+----+w--HM#MG+-+GGww-----GH%&M---+------wG---------------------------
------------------*#w--------HG----wG----G&w---w#wHM------G#w----Gw------H+--------------------------
------------------GH--------+H----*G----+Gw---+++ww****+----*w*---HM-----MM--------------------------
------------------*G--------*M----Gw--+ww---Gw**www*+-+*G*--------+#+---G*#--------------------------
------------------+H---------H+---*#+------G*--*H####w---M---------&*--+#-M--------------------------
-------------------H+--------wH*---wM*-----ww-*%%%%%%%+-+H--------+M--+G*+H--------------------------
--------------------H+------Gw-*wwwwGHw-----H++M&%%%%&*-H+--------HMww*--G*--------------------------
---------------------H+-----M---------*Gw**wwMG*-w&&*-+H*--------wG-----wM---------------------------
----------------------H+----ww-----------+---*wMM*GMw#Hwwwwwwwwww+------ww---------------------------
----------------------+H-----Mw---------+H+-----+wGww+-----------------Gw----------------------------
-----------------------M-----w&+----------*www------------------------H*-----------------------------
--*GGwwww***+++--------M------+H-------------+Gw-----*---------------*G------------------------------
---*GHHHHHHHHHHHGGGGwwww***+++-+Gw-------------H+----*w--------------H+------------------------------
----*GHHHHHHHHHHHHHHHHHHHHHHHHHGGHM*-----------*G-*--+#-------------H#-------------------------------
-----+*********wwwwwwGGGGGGGGGHHHHH#*-----------M#MHw*M-------------wG-------------------------------
--*******************+++++++++++****GH----------+#wGHHM-------------MH**+++--------------------------
---+++++++++++++++++++++++++*********Gw----------Hw***H*------------Mwwwwwwwwwww******++++-----------
+************************************wH----------+M***Hw------------M**************************++----
+*************************************#+----------*H**H&H---------*HH*****************************+++
+*************************************M------------wG*MH##GHMwHMH#G#H****++++++++++++++++++++++++++++
+*******************++++++++++++++++++M----w------+#M***HMwwM&wwwMGwwwwwwwwwwwwwGGGGGGGGGGGGGGGGGGw++
---+++++++++********wwwwwwwwwwGGGGGGGGMHMGGMMHH*#H#M#GGGGGGGGHGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGw*-----
-+*******************wwwwwwwwGGGGGGGGG#MHwM&wwG&HwGMww**************************************+--------
---+wGGGGGGGGGGGGGGGGwwwwww******+++++*******wwwwGGGGGHHHHMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMHHHHHHHG*+---
------+wGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGwwwwww******++++++++++++****wwwwwGGGGHHHHHMMHGw+-------
---------++********************wwwwwwwwwwwwwwwwwwwwGGGGGGGGGGGGGGGGGGGGwwwwww*****++++++-------------
---------------------------------------------------------------------------------+++++++++++++-------

You can find the code and a usage description on Github.

Roman Schader

Roman Schader

data engineer | focused on distributed systems, concurrency, stream processing, and functional programming

rss facebook twitter github youtube mail spotify instagram linkedin google svg x google-plus pinterest medium vimeo stackoverflow reddit quora soundcloud xing