« Nature of Code: Proposal for Final Project | Main | Audio Art: SutartinÄ—s »

Nature of Code: L-Systems and Text

My take on generative poetry with L-Systems (Perl with a web front-end). Works like a graphical L-System, except the "turtle" moves back and forth over a one-dimensional array of words (supplied by a source text of your choosing). Here's some example output (using Genesis 1 from the KJV):

In the heavens morning
In the heavens morning
the heavens and were
And morning were God

And morning were God
And morning were God
the were the called
and God called which

the were the called
the were the called
evening the second the
it called the were

and God called which
and God called which
it called the were
the which were the

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)