[sharing] Lindenmayer String Expansion JS-abstraction
Jan 08 2020 | 1:06 pm
I'm sharing this abstraction that outputs generated L-Systems. This is for anyone who is interested in using generative algorithms for algorithmic composition. A lindenmayer string expansion generator for which custom rules can be easily set in a dictionary. Multiple th.linden can access the same dictionary of rules with the @dict attribute.
In the default mode the rules are set with integer values and spaces are used to keep values separated, useful for midi-note sequences. In the ignore_ws mode the system works on per-character basis, useful when combining special characters and such. The help-file has some examples for clearification. Hope some find it useful!