Skip to content

Files

Latest commit

 

History

History
90 lines (76 loc) · 4.56 KB

Initial_Report.md

File metadata and controls

90 lines (76 loc) · 4.56 KB

ASCII Art Tool

A Personal Project

Introduction

Awareness
While I am no artist, I do appreciate the work that goes into making art. I've seen lots of ASCII art around the internet, from ASCII mona lisa to memes. It has always been something I was aware of in the back of my mind.
The Video
After watching a video of making live ASCII Video I felt I had to start somewhere.

Aim

The initial aim of this is to automatically make photos into ASCII art.

My Assets
For myself, I wanted to ASCII-fy this picture.
Alone Cafe by Moshimoshibe

Unfortunately, this image is natively 1080x1080 which is a lot of pixels (especially when each pixel is an entire character).
To solve this my initial solution is to reduce the image size in photo editing software before giving it to the program.

Alone Cafe low res

---------------,.........                         
---------------..........                         
---------------..........                         
---------------..........                         
---------------..........                         
---------------..........                        .
--------::----:..........                        .
-------:,     ,..........                         
-------.          .......                      . ,
----:-,            ......              . .. ,  ..:
---.,,             ......          .;-.::-, -...-+
---.                ,....       ..,.;:.:-,-:. ...+
---.                ,....     ..,.,,,,.,,.-:. ..,@
---.               .,....   ....,. .,,,-,,:+....,@
--.            .. .......   ,.     ...@&+:-+  .  ;
:-..          -+,;,......   :, .-..,:--,,.-&&-,-++
.-:.          &H++. .....  .,::H;&:;H@    -@&+:,-@
,-.           +H&@; .....  .-:-;--:-;;,:+;-.@#;--;
.---          :&&&. .....  .-+:-:+#;@@+H&H+H#:+&;@
,---.        ,@@H@  .....  .-:;:-;,,--H;##;$&+$:.H
..:-         .@+&;  .....   :,.,:,,-:,#&@#:#;HH+@&
 ,:. ., ,,.   .    ......   ;-,,,,,-:,:-,;@#$#.@$$
.,-,,:-:+++-,,..   ......   +:,;&-,:+-;-:+H$##+@H#
---.:+;++;;+++;.   ......  ,+::;;-:;;&@;;@;+;+#@:#
-:,,++;:++;::::     .....  ,;:+:,--+++#HHH:+:-####
.  -+++-,;++:,      ....    ;:--+:-:+-$#H&&H@ H$$$
,  ,+;;:,,:+++;-,-- .,..:,  #@;&@;-;&:H&&&&&@ :$$$
.   ;;;++:-:+;++++;  ..+H&&@@-&&&&&;:+&&&&&&+ ,$#&
,   -+++++;:+;;;;;+. , +&&&&&-&&&&&&.@&&&&&H;  &&@
.,  .+;+++;:;;;++;+: +,.H@@&&++H&&&&+&&&&H&&:  +@ 
.   .:+;+;+::++::;+- ,: ,.-&@; -&HH&&+;H@,;#:  :  
     ;:+;;;+--.       :,  ,,-,, ,;;:.;,:   -  .-  
     ::;+;;;- .       ,.,:,:+::                .  
     ,,.;+;+--+;:--,. ,-::,@+;,.                  
      .;--+;;;;;;;+;+-;;::-+@&.                   
      .,. ,+;;;;;;;;;:.::;-:+,                    
           ,;:----:;+:              ....          
     .,-,,,.,....  ..                   ...    -+;
   -::---,,,,,,,,,,.....                     ,:@&&
    ..,,--------,,,,,,,..,..                      
         -, ..,,---:---,,                         
         ,,         ..,--                         
         :;.                                      
         .                                        
                                                  
                                                  
                                                  
                                                  
                                                  

How do I feel?

It works! No artistic skill required.

Sub-optimal parts

However, points I will say is that the aspect ratio is not preserved and font of constant width is required to make the image look decent.

Closing Remarks and Ways to Improve

Main goal was accomplished and this was a fun thing to do for an afternoon and marks the start of me using git repositories for personal use. As an added Bonus, I get to look at it in my code preview of the report :)
Alone Cafe low res

Possible Improvements

  • Could draw the characters on a screen in the correct postion, rather than print text
  • Work with higher Contrast Photos, or edit photos to be higher contrast
  • Fiddle with the "order of brightness" ASCII characters
  • Reduce scale of image in natively in the program