Grasshopper

algorithmic modeling for Rhino

Hi, can anyone help me understand how to read the production rules of Turtle's L-system in the Rabbit plug-in?

i know the basics of the rules but i can't find a tutorial or explanation how to read them.

Especially when there are multiple rules acting at the same time it gets really confusing.

For example: 

Rule 1 = 2FF[+1]
Rule 2 = F[1]-2

From what (i think) i understand in general, 
Step 1 reads rule 1.
Step 2 reads rule 1 then rule 2.
Step 3 reads rule 1 then rule 2 then rule 1
Step 4 reads rule 1 then rule 2 then rule 1 then rule 2...

But in this case rule 2 involves rule 1. How do i read it?


Another thing is when there are multiple seeds, how does it affect the rules?
For example:

A = 1
1 = F+F

AA  = ?
A-A = ?


Hopefully i explained my question clearly.
Help is very much appreciated!

Views: 3270

Replies to This Discussion

Hi,

we've described the basic principles here:
http://morphocode.com/rabbit-l-systems/

seed: A
rules:
A = AB
B = BA

n=0: A (the axiom)
n=1: AB (A is rewritten according to the rule A=AB)
n=2: ABBA (A -> AB, B -> BA) -> in result you get AB BA
n=3: ABBABAAB (A->AB;B->BA;B->BA;A->AB) result: AB BA BA AB
n=4: ABBABAABBAABABBA (etc. etc.)



You can find some more details in 'The Algorithmic beauty of plants' - it is freely available as a PDF:
http://algorithmicbotany.org/papers/abop/abop.pdf


Best

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service