Context Sensitive Lindenmayer System

214 Views Asked by At

I'm working on implementation the ContextSensitive L-system from "Algoritmic Beauty of Plants", but I don't get the same results as in the book.

If i correctly understood when I have axiom like this:

0 < 1 > 0 -> 1F1
1 < 0 > 1 -> 1
1 < 1 > 1 -> 0
#ignore +-F

and

F1F0F1[-F1F1][+F1F1]F0

There is only 1 change

F1F0F1[-F1F1][+F1F1]F0 

into

F1F1F1F1[-F1F1][+F1F1]F0

So how can I interpret the [] signs? Am I omitting it or what?

1

There are 1 best solutions below

0
On BEST ANSWER

I have found out the answer on other posts.