Skip to content

A tool entirely written in Clojure to convert images into ASCII art. Current state is WIP.

License

Notifications You must be signed in to change notification settings

romanskie/ascii-womb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASCII-Womb

Overview

This is a tool entirely written in Clojure to convert your images (PNG, JPG etc.) into an ASCII art. The current state is still WIP.

Usage

First copy an image of your choice into the ressources folder and also change the image path in the core.clj file. You can also find there an option to scale down the image.

Run the ascii-womb tool as follows:

lein run

Check the output (e.g. via cat) inside the output.txt file in the project root. It will look 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*****++++++-------------
------------------------------------------------------------------------------------+++++++++++++-------
--------------------------------------------------------------------------------------------------------

About

A tool entirely written in Clojure to convert images into ASCII art. Current state is WIP.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published