http://www.brown.edu/Courses/FR0133/Fairytale_Generator/gen.html
An experiment in electronic (re)writing and an exploration of the retranslation of modernist theory within the electronic environment.
How the generator works:
+ top level:
At the most basic level, the generator receives input from the user (functions selected) and based on that outputs a tale. Each function has up to 10 different possible writings, from these, the computer randomly selects one for each function and outputs them in sequence.
+ geek level:
Each function has an array which stores one possible implementation of the function per cell. When the user hits submit the computer checks to see which functions have been selected, then based on that generates a random number (from 0-9) for each function. It then uses that number to look-up the contents of the corresponding cell in the proper array and stores it in a variable. Finally it outputs the variables one after another.
No comments:
Post a Comment