All Singing
by Nick Montfort
"All Singing" is a poem created by Nick Montfort that describes the creation of the universe using a Perl script. Nick released the code in the public domain. Thanks Nick!
I've changed it a bit. These are my mods:
- replaced the
&
between each verse by\n
- change the number of lines from 999 to 42, which is the answer to the ultimate question of life, the universe, and everything. Makes sense, right?
Here's the code I've used.
#!/usr/bin/perl $t="A SWERVE "; for(my $i=42;$i--;){$t.=(unpack "(A4)*","bangbankbendboomfleeflowformhackhowljumpplayringsingskewjam")[rand 15]."s".(" in"," up")[rand 5]." the ".("absence","blankness","silence","stillness","void")[rand 5]." \n ";}print $t."all that.\n"
My version of this universe was created ;) using Inkscape and Hershey's sans medium font. The SVG file is here for download.
You can buy a physical concretization of this poem at paperview.
Happy hacking!
Criado/Created: 14-05-2022 [10:55]
Última actualização/Last updated: 30-05-2023 [23:14]
Voltar à página inicial/Back to first page


(c) Tiago Charters de Azevedo