User:Kendal/Special Issue: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
Line 1: Line 1:
'''[https://issue.xpub.nl/13/ Wor(l)ds for the Future]'''  
'''[https://issue.xpub.nl/13/ Wor(l)ds for the Future]'''  
[[Category:WordsfortheFuture|Words of the Future]]
[[Category:WordsfortheFuture|Words of the Future]]
Words/publications to edit: [https://pad.xpub.nl/p/%3F!-Powers ?!], [https://pad.xpub.nl/p/Undecidability_%E2%80%93Silvia_Bottiroli Undecidability], [https://pad.xpub.nl/p/RESURGENCE_%7C_Isabelle_Stengers Resurgence] &  [https://pad.xpub.nl/p/LIQUID Liquid]
<br>
with Nami, Clara, Louisa


→[https://pad.xpub.nl/p/keywords-mapping Mapping Keywords]<br>
→[https://pad.xpub.nl/p/keywords-mapping Mapping Keywords]<br>
Line 107: Line 103:


==== Research & Writing ====
==== Research & Writing ====
Words/publications to edit: [https://pad.xpub.nl/p/%3F!-Powers ?!], [https://pad.xpub.nl/p/Undecidability_%E2%80%93Silvia_Bottiroli Undecidability], [https://pad.xpub.nl/p/RESURGENCE_%7C_Isabelle_Stengers Resurgence] &  [https://pad.xpub.nl/p/LIQUID Liquid]
<br>
with Nami, Clara, Louisa

Revision as of 20:33, 7 April 2021

Wor(l)ds for the Future

Mapping Keywords
IDEA PAGE FOR INDIVIDUAL REPUBLICATION
SHARED WIP PAD


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)
NLTK & ASCII QUILT


→ 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