won’t you

won’t you

A computational poem.

Part of
Issue 9 May 2019

Open Source

<html>
<head>
<meta http-equiv="refresh" content="4">
<script>
var aux = ["", "can", "don't", "must", "will", "won't"],
    act = ["find", "know", "learn", "read", "say", "see"];
function pick(list) {
  return list[~~(Math.random() * list.length)];  
}  
function phrase() {
  var end = " it";
  if (Math.random() < .3) {
    end = " that " + phrase();
  }
  return "we " + pick(aux) + " " + pick(act) + end;
}
</script> 
</head> 
<body id=b style="margin: 20%" onload="b.innerHTML=phrase();"> 
</html> 

About the author

Nick Montfort is a computational poet who has done online projects, artworks for exhibition, and computer-generated books, including the collaboration 2x6, Autopia, The Truelist (first in the Using Electricity series from Counterpath), and Hard West Turn. He is a professor of digital media at MIT.

@nickmofo

Artwork by

Manolo Gamboa Naon

manoloide.com

Topics

Keep in touch

Sign up for occasional email updates from Increment.

Thank you!

We’ll be in touch.

Continue Reading

Explore Topics

All Issues