User:Kendal/Special Issue

From XPUB & Lens-Based wiki

Wor(l)ds for the Future

NLTK & ASCII QUILT
PDF generated with NLTK

Mapping Keywords

SHARED WIP PAD

Print Production

Prototyping

→ Generating randomised textual poems from a set of variable words/phrases

House of Dust

→ ASCII time, converting images into ascii via python.

from PIL import Image
from urllib.request import urlopen

f = Image.open (urlopen("PUT URL HERE"))
g = f.convert("1") #for b&w
g.save ("bw.png") #to save a new copy 

import aalib
screen = aalib.AsciiScreen(width=80, height=40) #size of the canvas
h = f.resize(screen.virtual_size).convert('L',dither=Image.NONE)
screen.put_image((0, 0), h)
print (screen.render())

                 __s_s_s_s_s_s_s_s_s_s_s_s_s_.              
                 -QQQQQQQQQQQQQQQQQQQQQQQQQQP               
                  )TWQQQQQQQQQQQQQQQQQQQQQVT'               
              .__,_ -QQQQQQQQQQQQQQQQQQQQP  ___,.           
            _yQQQQQQgmWQQQQQQQQQQQQQQQQQQggQQQQQQw,         
           _QQQ@VV$QWQQQQQQW$QQQQQQQQQQQQQQWHVVQQQm.        
           jQQ[    -4WQQQQQQdQQQQQQQQQQQQW!     4QQ[        
           dQQ:    <QWQQQQQQm3QQQQQQQQQQQQg,    )WQf        
           ]QQc  .jQQWQQQQQQQgJQQQQQQQQQQQQQ/   jQQ(        
           -WQQc_mQQQQQQQQV4WQh$SQQQQQQQQQQQQw.jQQE         
            +QQWQQQQQQQ@?` ]WQQyQQQQQQQQQQQQQQQWQ@`         
             )QQQQQQQQF    jQQQQQQQQQQQQQQQQQQWQ@'          
              )QQQQQQD     -9QQQQQQWQQQQQQQQQQQW'           
               QQQQQW'       ~9QQQQEQQQQQQQQQQQf            
               $WQQQQgas,.   ..=VHBGQWQQQQQQQQQ[            
               )QQQQQQQWQQQmQWQQQQWQWQQQQQQQQQW             
                $WQQQQQQQQWQQQQQQQQQWQQQQQQQQQ[             
                -WWQQQQQQQQQQQQQQQQQQQQQQQQQQP              
                 -QWQQQQQQQQmmmmm5QWQQQQQQQQP               
                  -$QQQQQQQQQQQ@nBUWQQQQQQQF                
               _/   4QQQQWQQQQQQQWWWQQQQQW(                 
           _swQW`    "$QQQQQQQQWWWQQQQQQP`                  
          jWWWWf       4WQQQQQQQQQQQQQ@^                    
         jmWQQQg,       -9QQQQQQQQQQW?                      
        )WWQQQQWQc     .saQQQQQQQQQQma,                     
          "Y$QQQWWg, _wQQWQQQQQQQQQQQWQQa                   
             -~~~~~` --------------------

→ NLTK

language = open('../txt/language.txt').read()
tokens = nltk.word_tokenize(language)
tagged = nltk.pos_tag(tokens)


# # Simple fill-up of a page, to set the reach of our canvas
# lines = [] # All the lines will be stored here

# sentence = 'Liquid is controlled chaos in a permanent state of flux. '
# line = ''
# for x in range(height):
#     line += sentence
#     line += ' ~ ' * width
#     lines.append(line)
# #     tmp_line = ''
# #  for character in line:
# #     if len(tmp_line) < 82:
# #         tmp_line += character
# #     else: 
# #         tmp_line = ''
# #         count = 0

# # r = '\n'.join(lines)
# # print(r)

# print(lines)
# type(lines)

→ PDF STAMPING

 !pdftk pdf/quilt.pdf stamp pdf/shapes.pdf output pdf/quilt-stamped.pdf

OUTPUT = File:Liquidquilt.pdf

Research & Writing

Words/publications to edit: ?!, Undecidability, Resurgence & Liquid
with Nami, Clara, Louisa

MY WORD

Planning
Web Interface
LIQUID Printed Matter

Liquid

things that stood out:

  • Feedback Loops
  • Flow
  • Flux
  • Organic
  • Boundless
  • Growing
  • Movement
  • Circulation
  • Adaptive
  • Unpredictability
  • Sublime
  • Hypercomplexity
  • Self-sustaining
  • Controlled chaos
  • Monstrous
  • Multiplicity

IDEA PAGE FOR INDIVIDUAL REPUBLICATION
BIG PAD


Main focus on feedback loops, flux, flow and and text as a regenerative organism.

OBSERVATION: Information inside a boundless space. TOOLS: ASCII (AALIB), NLTK & PDFTK Stamp / Background GOAL: Ascii texture made from texts, layering and feedback loops,

"Living text that is boundless & loops"


For my individual contribution, I was taken by the idea of feedback loops, flux, flow and text as a regenerative organism. Through Prototyping sessions, I felt that python tools such as ASCII & specifically NLTK could be used to reinforce the ideas of the flow from text to image, from output to input. My resulting pages aimed to show the looping of texts within the essay and how these can be looked at in a liquid way, settling on the ASCII representation of text flowing into itself replicating the movements of a waterfall. My end result highlights the revisiting of information but applying new methods and experiencing new forms, an idea explored in the original Liquid text.


ROLES

  1. Print Production
  2. Copy Editing
  3. Contextual Team