Skip to the content.

Star test

Running

Transparent image of a star

To generate ASCII art from an image, run the following command:

python3 main.py star.png 10

The output is:

              ++              
              ++              
             =++=             
             ++++             
             ++++             
            *+##+*            
            ++ÑÑ++            
            +*ÑÑ*+            
           ==#ÑÑ#==           
%==%%%%%%%%++ÑÑÑÑ++%%%%%%%%==%
++++++======*ÑÑÑÑ*======+++++%
 *+++%Õ@@@@@ÑÑÑÑÑÑ@@@@@Õ%+++* 
   ++*ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ*++   
    +++#ÑÑÑÑÑÑÑÑÑÑÑÑÑÑ#+++    
      ++*ÑÑÑÑÑÑÑÑÑÑÑÑ*++      
       +++ÕÑÑÑÑÑÑÑÑÕ+++       
        ++*ÑÑÑÑÑÑÑÑ*++        
        ==@ÑÑÑÑÑÑÑÑ@==        
        ++ÑÑÑÑÑÑÑÑÑÑ++        
        +*ÑÑÑÑ%%ÑÑÑÑ*+        
       ==#ÑÑÕ++++ÕÑÑ#==       
       ++ÑÑ%+++*++%ÑÑ++       
       ++@*++    ++*@++       
       +++++      +++++       
      ++++          ++++      
      +++            +++      
      +%              %+      

The output file on star.out.txt on Github.