/ascii-state

Generate ASCII maps of your favorite United States! :us:

Primary LanguageShellCreative Commons Zero v1.0 UniversalCC0-1.0

ASCII States

  1. If you don't have Node yet, get it.
  2. Run npm install to get geotype.
  3. Run this to get your own ASCII California:
./ascii-state
                                                                
  ::::::::::::::::::::::::::                                    
  ::::::::::::::::::::::::::                                    
  ::::::::::::::::::::::::::                                    
  ::::::::::::::::::::::::::                                    
  ::::::::::::::::::::::::::                                    
  ::::::::::::::::::::::::::                                    
  ::::::::::::::::::::::::::                                    
  ::::::::::::::::::::::::::                                    
    ::::::::::::::::::::::::                                    
    ::::::::::::::::::::::::                                    
    ::::::::::::::::::::::::                                    
      ::::::::::::::::::::::::                                  
      ::::::::::::::::::::::::::                                
        ::::::::::::::::::::::::::                              
          ::::::::::::::::::::::::::                            
          ::::::::::::::::::::::::::::                          
            ::::::::::::::::::::::::::::                        
            ::::::::::::::::::::::::::::::::                    
            ::::::::::::::::::::::::::::::::::                  
                ::::::::::::::::::::::::::::::::                
                ::::::::::::::::::::::::::::::::::              
                ::::::::::::::::::::::::::::::::::::            
                  ::::::::::::::::::::::::::::::::::::          
                  ::::::::::::::::::::::::::::::::::::::        
                    ::::::::::::::::::::::::::::::::::::::      
                      ::::::::::::::::::::::::::::::::::::      
                      ::::::::::::::::::::::::::::::::::::::    
                      ::::::::::::::::::::::::::::::::::::::::  
                        ::::::::::::::::::::::::::::::::::::::  
                        ::::::    ::::::::::::::::::::::::::    
                                  ::::::::::::::::::::::::::    
                            ::::  ::::  ::::::::::::::::::      
                                  ::::    ::::::::::::::::::    
                                  ::::    ::::::::::::::::::    
                                          ::::                  
                                                                

Or supply another state's name or 2-letter code:

./ascii-state Massachusetts
./ascii-state NY

The first time this runs it'll download US state boundaries from the Census.

Zoom Level

If you want it bigger, try tacking on a higher zoom level (the default is 10):

./ascii-state CA 11
./ascii-state TX 9