12 KiB
The House of Dust¶
Alison Knowles
Fall 1967. Composer James Tenney conducts a workshop on FORTRAN programming with the following participants: Phil Corner, Dick Higgins, Nam June Paik, Alison Knowles, Jackson Mac Low, Max Neuhaus and Steve Reich. The workshop takes place at Alison Knowles and Dick Higgins’s apartment in New York. Tenney was a composer in residence at Bell Labs from 1961 to 1964 and then at the Polytechnic institute of Brooklyn.
The poem is generated by James Tenney using the language FORTRAN IV and the computer from the Polytechnic Institute of Brooklyn. At the time, it is entitled Proposition N°2 for Emmett Williams. 50 pages are printed.Fall 1967. Composer James Tenney conducts a workshop on FORTRAN programming with the following participants: Phil Corner, Dick Higgins, Nam June Paik, Alison Knowles, Jackson Mac Low, Max Neuhaus and Steve Reich. The workshop takes place at Alison Knowles and Dick Higgins’s apartment in New York. Tenney was a composer in residence at Bell Labs from 1961 to 1964 and then at the Polytechnic institute of Brooklyn.The poem is generated by James Tenney using the language FORTRAN IV and the computer from the Polytechnic Institute of Brooklyn. At the time, it is entitled Proposition N°2 for Emmett Williams. 50 pages are printed. source
Please find inclosed a brief history of the project from its inception as a computer poem, which I compose by using a Fortran computer, to the placement of the fibreglass sculpture or object/poem on the campus of the California Instutute of the Arts.
The significance of the House of Dust, and the reason for moving it and transforming it in a new setting is that it is the materialization of a poem that has a cyclical structure that invites constant renewal.
Some useful visualisations code being parsed + performed¶
- Parsing what you type: A visualisation of the syntax tree
- Watching how code is performed or executed using frames
17
17 + 29
Hello
Hello python
"Hello python"
"17" + 29
"This is some text"
("One", "Two", "Three")
"17" + "29"
"one" + "two"
type(25)
type("twenty five")
Built-in symbols¶
import keyword
keyword.kwlist
import builtins
dir(builtins)
Variables¶
x
x = 17
x
x + 29
x
len
len("hello")
l = ("one", "two", "three")
len(l)
String formatting¶
"hello {}".format(name)
f"hello {name}"
print ("hello python")
n = "your name"
"Hello" + x
Some key part of the original FORTRAN code:
DIMENSION MAT(3,17),SIT(8,25),LIT(4,4),INH(11,22)
...
JM=1.+RAND(17.)
JS=1.+RAND(25.)
JL=1.+RAND(4.)
JI=1.+RAND(22.)
...
FORMAT(1H0,5X,1IHA HOUSE OF ,3A6/12x,8A6/18X,6HUSING ,4A6/24X,13HIINHABITED BY ,11A6)
Loops¶
for x in range(10): print ("hello python") print (x)
x = 1 while x<10: print (f"x is {x}") x = x + 1
x is 1 x is 2 x is 3 x is 4 x is 5 x is 6 x is 7 x is 8 x is 9
Random¶
import random
dir (random)
random.random
random.random?
<function Random.random>
random.randint
<bound method Random.randint of <random.Random object at 0x21c0b38>>
random.choice
from random import choice