Hello PdPeople,
Who wants to make some fractal music? Here are two abstractions that implement a Lindenmayer system. http://en.wikipedia.org/wiki/L-system
[s-ireplace] is an abstraction that takes a single integer and outputs a list of integers according to the rules specified. So you might send a message [rule 1 2 3( and then when you send a [1( you will get back a list '2 3'.
[s-lsystem] uses [s-ireplace] internally to iteratively replace lists of integers with lists of integers according to rules defined in the same way as above, thus implementing a Lindenmayer system.
Lindenmayer systems are great for generating complex sets of data from simple rules and initial values.
http://mccormick.cx/viewcvs/*checkout*/s-abstractions/s-ireplace.pd?root=svn http://mccormick.cx/viewcvs/*checkout*/s-abstractions/s-ireplace-help.pd?root=svn http://mccormick.cx/viewcvs/*checkout*/s-abstractions/s-lsystem.pd?root=svn http://mccormick.cx/viewcvs/*checkout*/s-abstractions/s-lsystem-help.pd?root=svn
If you want, you could also use these with Gem to make natural looking tree-like 3d structures. Check the pd-list archives for a previous implementation of that idea which used a much simpler Lindenmayer system which was not quite as flexible.
Best,
Chris.
On Thu, Nov 01, 2007 at 04:37:15AM -0400, Chris McCormick wrote:
Hello PdPeople,
Who wants to make some fractal music? Here are two abstractions that implement a Lindenmayer system. http://en.wikipedia.org/wiki/L-system
the plants look very nice, lovely!
have you implemented that according to 'Stelios Manousakis, "Musical L-Systems"' which wikipedia links to ?
[s-ireplace] is an abstraction that takes a single integer and outputs a list of integers according to the rules specified. So you might send a message [rule 1 2 3( and then when you send a [1( you will get back a list '2 3'.
[s-lsystem] uses [s-ireplace] internally to iteratively replace lists of integers with lists of integers according to rules defined in the same way as above, thus implementing a Lindenmayer system.
Lindenmayer systems are great for generating complex sets of data from simple rules and initial values.
http://mccormick.cx/viewcvs/*checkout*/s-abstractions/s-ireplace.pd?root=svn http://mccormick.cx/viewcvs/*checkout*/s-abstractions/s-ireplace-help.pd?root=svn http://mccormick.cx/viewcvs/*checkout*/s-abstractions/s-lsystem.pd?root=svn http://mccormick.cx/viewcvs/*checkout*/s-abstractions/s-lsystem-help.pd?root=svn
If you want, you could also use these with Gem to make natural looking tree-like 3d structures. Check the pd-list archives for a previous implementation of that idea which used a much simpler Lindenmayer system which was not quite as flexible.
Best,
Chris.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Fri, Nov 02, 2007 at 10:01:08AM +0000, ilya .d wrote:
On Thu, Nov 01, 2007 at 04:37:15AM -0400, Chris McCormick wrote:
Who wants to make some fractal music? Here are two abstractions that implement a Lindenmayer system. http://en.wikipedia.org/wiki/L-system
the plants look very nice, lovely!
have you implemented that according to 'Stelios Manousakis, "Musical L-Systems"' which wikipedia links to ?
No, I'm afraid I haven't read that, but I will certainly look it up now. What I implemented is the most basic form of the l-system's central iterative replacement algorithm and can quite possibly be used to implemnet what Stelios discusses.
Best,
Chris.