Skip to main content
1 of 2
PhiNotPi
  • 29.1k
  • 10
  • 85
  • 157

Perl, 153 chars

for(-21..20){$y=$_/20;for(-60..18){$r=($x=$_/30);$i=$y;for(1..99){$t=$r;$r=$r**2-$i**2+$x;$i=$t*$i*2+$y}if($r**2+$i**2<4){print"X"}else{print$"}}print$/}

Output: I can't post a picture because I am a new user, so I will try posting the text of the output.

                                                        X                  
                                                                           
                                                                           
                                                    XX                     
                                                  XXXXXX                   
                                                 XXXXXXX                   
                                                  XXXXX                    
                                               X X XX X                    
                                        XX   XXXXXXXXXXXXXXXX              
                                        XXXXXXXXXXXXXXXXXXXXXXXXXX         
                                        XXXXXXXXXXXXXXXXXXXXXXXXXX         
                                     X XXXXXXXXXXXXXXXXXXXXXXXXXX          
                                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXX        
                                   XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX      
                                    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX        
                      X XXXX       XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX       
                      XXXXXXXXX    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX       
                    XXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX       
                    XXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX        
                XX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX        
 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX           
                XX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX        
                    XXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX        
                    XXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX       
                      XXXXXXXXX    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX       
                      X XXXX       XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX       
                                    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX        
                                   XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX      
                                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXX        
                                     X XXXXXXXXXXXXXXXXXXXXXXXXXX          
                                        XXXXXXXXXXXXXXXXXXXXXXXXXX         
                                        XXXXXXXXXXXXXXXXXXXXXXXXXX         
                                        XX   XXXXXXXXXXXXXXXX              
                                               X X XX X                    
                                                  XXXXX                    
                                                 XXXXXXX                   
                                                  XXXXXX                   
                                                    XX                     
                                                                           
                                                                           
                                                        X                  
PhiNotPi
  • 29.1k
  • 10
  • 85
  • 157