User:Kendal/Special Issue: Difference between revisions
No edit summary |
No edit summary |
||
(26 intermediate revisions by the same user not shown) | |||
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]''' == | ||
[[File:Quilt WFTF.jpg|thumb|right|NLTK & ASCII QUILT]] | |||
[[File:PDF generated with NLTK.png|thumb|right|PDF generated with NLTK]] | |||
[[Category:WordsfortheFuture|Words of the Future]] | [[Category:WordsfortheFuture|Words of the Future]] | ||
→[https://pad.xpub.nl/p/keywords-mapping Mapping Keywords]<br> | |||
→[https://pad.xpub.nl/p/28_10_20_SPECIAL_ISSUE_13_IDEAS SHARED WIP PAD]<br> | |||
→[https://pad.xpub.nl/p/Issue13_Printingproduction Print Production] | |||
==== Prototyping ==== | |||
→ Generating randomised textual poems from a set of variable words/phrases<br> | |||
[https://notebook.xpub.nl/hub/user-redirect/lab/tree/AHOUSEOFDUST.ipynb House of Dust] | |||
→ ASCII time, converting images into ascii via python. | |||
<syntaxhighlight lang="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 | |||
-~~~~~` -------------------- | |||
</syntaxhighlight> | |||
→ NLTK | |||
<syntaxhighlight lang="python"> | |||
language = open('../txt/language.txt').read() | |||
tokens = nltk.word_tokenize(language) | |||
tagged = nltk.pos_tag(tokens) | |||
</syntaxhighlight> | |||
<syntaxhighlight lang="python"> | |||
# # 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) | |||
</syntaxhighlight> | |||
→ PDF STAMPING | |||
<syntaxhighlight lang="python"> !pdftk pdf/quilt.pdf stamp pdf/shapes.pdf output pdf/quilt-stamped.pdf </syntaxhighlight> | |||
OUTPUT = [[File:Liquidquilt.pdf]] | |||
<gallery> | |||
Patternpythontry.jpg | First encounter with pattern making | |||
Nltkliquid.jpg |Working with Nltkliquid & patterns | |||
Patternmakingpython.jpg | Infusing NLTK with patterns for patches | |||
Pdfnltkcode.jpg |Code to create PDF with NLTK | |||
</gallery> | |||
==== 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] | 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] | ||
Line 6: | Line 126: | ||
with Nami, Clara, Louisa | with Nami, Clara, Louisa | ||
=== MY WORD === | |||
[[File:LIQUID8-a3SKETCH.jpeg|thumb|right|Planning]] | |||
[[File:Wftfweb.gif|thumb|right|Web Interface]] | |||
[[File:Liquidprint.gif|thumb|right|LIQUID Printed Matter]] | |||
[https://pad.xpub.nl/p/LIQUID Liquid] | |||
things that stood out: | |||
* Feedback Loops | |||
* Flow | |||
* Flux | |||
* Organic | |||
* Boundless | |||
* Growing | |||
* Movement | |||
* Circulation | |||
* Adaptive | |||
* Unpredictability | |||
* Sublime | |||
* Hypercomplexity | |||
* Self-sustaining | |||
* Controlled chaos | |||
* Monstrous | |||
* Multiplicity | |||
→[https://pad.xpub.nl/p/L1QU1D IDEA PAGE FOR INDIVIDUAL REPUBLICATION]<br> | →[https://pad.xpub.nl/p/L1QU1D IDEA PAGE FOR INDIVIDUAL REPUBLICATION]<br> | ||
→[https://pad.xpub.nl/p/ | →[https://pad.xpub.nl/p/Wor(l)ds_for_the_future 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 | |||
# Print Production | |||
# Copy Editing | |||
# Contextual Team |
Latest revision as of 14:34, 11 April 2021
Wor(l)ds for the Future
Prototyping
→ Generating randomised textual poems from a set of variable words/phrases
→ 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
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
- Print Production
- Copy Editing
- Contextual Team