[ create a new paste ] login | about

Link: http://codepad.org/zqqYUui8    [ raw code | output | fork ]

C, pasted on Feb 15:
1
2
3
4
5
6
p;float x,y,f;v(){for(p=4e3;p;x=(float)(p%99-50)/35,y=(float)(p/40-45)/40,f=x*x+y*y-1)putchar(p--%99?f*f*f-x*x*y*y*y<1e-3?35:32:10);}

int main() {
  v();
  return 0;
}


Output:
#                                       
                                                                                                  
                                                              #########                           
                       ################                 ####################                      
                   #########################         ###########################                  
                ################################ #################################                
              ######################################################################              
            #########################################################################             
           ###########################################################################            
          #############################################################################           
          ##############################################################################          
         ###############################################################################          
         ###############################################################################          
         ###############################################################################          
         ###############################################################################          
         ###############################################################################          
         ###############################################################################          
         ##############################################################################           
          #############################################################################           
          ############################################################################            
           ###########################################################################            
           ##########################################################################             
            #########################################################################             
            #########################################################################             
              ####################################################################                
                ################################################################                  
                  ############################################################                    
                   #########################################################                      
                      #####################################################                       
                       #################################################                          
                          ############################################                            
                            ########################################                              
                               ##################################                                 
                                  #############################                                   
                                    #######################                                       
                                        #################                                         
                                           ###########                                            
                                              #####                                               
                                               ###                                                
                                                                                                  
                                                                                                  


Create a new paste based on this one


Comments: