< Back to IRCAM Forum

Lindenmayer System

Does anyone know of an existing OM patch or library that implements the L-system or Lindenmayer system?
Thanks!

Dear Nagymusic,

I don’t know if this is related, but in the omChaos lib you have some ifs functions.
Unfortunately it is not well documented.

I am including an old PW doc of this lib. It should not be 100% compatible but gives yo some idea about these functions.

Best
K

PW-Chaos.2ed.pdf (439 KB)

Jean-Michel Darremont wrote these excellent tutorials about OMChaos (in French):

—Jean

Hi, I once tried to do it, see attached. I think it works well… The few instructions are in French, though, in the patch, if it’s not self-explanatory enough, just let me know, I’ll translate them!
The main patch is named starting with an underscore (_l-systems), the other is the recursive subpatch inside.
I will appreciate if any bug or misconception in the L-system logic is found.
cheers,
Jimmie

l-systems.zip (4.81 KB)

Thanks, everyone! I plan to study these materials. Very helpful!

Had a chance to test the Jimmie’s L-system patch. It works very well! Also, the Chaos library documentation is very informative. Thanks again for sharing!

...library that implements the L-system or Lindenmayer system

The Patterns library implements rewrite rules, supporting context free and context sensitivie rewrite rules. Rick Taubes original implementation was called ‘L-system’, but was subsequently generalized. Have a look at tutorial 10[abc] of the Patterns lib.

-anders

Thank you Jimmie for sharing that nice patch!! :slight_smile:

Best Lena