Thanks for the replies, guys.
@ Chrisir: I know about turtle drawing, but I'm planning on representing the system differently (think of
http://www.michael-hansmeyer.com/projects/project3w.html Hansmeyer's L-Systems, but 2D and way less complex), so for now I'm not implementing graphics until I get a hold of the engine behind the system. And then it will be more hard work getting the graphic engine to work ;) And for replacing a string, unfortunately that was on a different context: they had the index for the character to be replaced, where I want to replace occurences of a string for a different string.
@bit.craft: Well, I know some german, but not enough for a scientific paper! Well, maybe, for luckily math is universal, and I'm quite good at
that.
@martin_p: I also think there are easier ways to deal with Parametric L Systems, unfortunately none that I think of is suitable for Processing, at least not without consuming a whole lot of memory on objects and function stacks and stuff. But then, my approach has a fairly large function stack, so I might try something different. The thing is I
really want to keep this in Processing, for it is just the missing piece on a larger project.
Do you suppose having "syllabes" as objects makes things easier while not wasting much memory My main concern is in creating rules. You see, on my code, it's as simple as
Code: Rule ruleA = new Rule("F(t):(t>1)->F(t-1)");
and JS processes the string as code. If I could do something similar purely on Processing, I'd be glad ^_^