Computational Text A to Z - NYU ITP
Duban Morales
Week 04
Date 09/23/2025
Week 04
Date 09/23/2025
Language Models
I combined three texts that explore design, ethics, and speculation:
Bauhaus Manifesto
Speculative Everything
First Things First 2020 Manifesto
These became the raw material a shared “language” of design ideologies
from different moments in history.
Markov Text Generation
Using RiTa.js, I built a Markov chain that blends the three manifestos into
new hybrid sentences.
Drawing as Interpretation
Each part of speech was mapped to a drawing behavior in p5.js:
Noun → a wall or line segment
Verb → a turn or change in direction
Adjective → a texture overlay
Adverb → a curve or flow gesture
Preposition → a connection
Conjunction → a branch or split in space
The result is a generative system where each word acts like a building
instruction.
The sentence constructs its own architectural diagram.
https://editor.p5js.org/Duban_Morales/sketches/8MhXb04Ex
Duban Morales
Week 03
Date 09/16/2025
Week 03
Date 09/16/2025
APIs and Libraries
“You enter a room built from material, decorated with sculpture material.”
First Attempts
At the start, things didn’t go smoothly. Instead of getting words like “adobe” or “timber,” I was only getting numbers between 0 and 1. It turned out that the random() function was just giving me a number because the variables I thought held the data were actually empty. p5.js was doing exactly what it should but, because my JSON keys didn’t line up with what I was calling in the code, nothing was there to pick from. Once I fixed the keys, I finally started seeing proper words.
I also tried to use RiTa.js to analyze the sentences tagging parts of speech, breaking down syllables, or finding rhymes. I ran into a lot of issues there: some builds of RiTa didn’t load at all, and others threw errors like “not a function” or “not a constructor.” Even though I couldn’t get it fully working this time, it gave me a better sense of how different versions of a library expose different functions.
Generates a new sentence with each mouse press on canvas
https://editor.p5js.org/Duban_Morales/sketches/c0QpKnkl2
updated sketch and found the problem , i was using Rita.getPos() rather than Rita.pos() , the script now is able to find synonyms for the materials
Duban Morales
Week 02
Date 09/09/2025
Week 02
Date 09/09/2025
Word Counting
Bauhaus Manifesto vs Speculative Design (Ch. 1)
Readings -
https://gropius.house/location/bauhaus-manifesto/
https://readings.design/PDF/speculative-everything.pdf
https://gropius.house/location/bauhaus-manifesto/
https://readings.design/PDF/speculative-everything.pdf
word counter sketch - https://editor.p5js.org/Duban_Morales/sketches/wrQUQMf6C
Duban Morales
Week 01
Date 09/02/2025
Week 01
Date 09/02/2025
Introduction
Method: Table of contents → numbers → word positions in the Letters section.
For each number, count words in sequence from the Letters section.
Example: Page 4 → pick the 4th word in the Letters section. (Gardens)
Page 10 → pick the 10th word, and so on. (Homebuilding)
24 → (fine)
Gardens Homebuilding fine plumbing receive months that switch issue press give about in issue Paul plumbing and in McMahon looking.
Reverse
Torben Chicago Florida parts from catalog electrical was inc. supplier to excellence and have faucets offers also and breakers bulbs