Complex systems...simple rules

Complex systems...simple rules

Comments

Here's an example of a very

Here's an example of a very complex structural system created with very simple rules. This is a simple version of an L System. Using a single power copy, three variables, and a short script, you can create surprising complexity. I've posted the example file, and the source code to my usual download space (Tree_source.zip).

 

Ian Keough

Senior Technical Designer

Buro Happold Consulting Engineers 

CRAFT -Computation, Research, Analysis, and Fabrication Technology

explanation?

hi ian,

this is really cool.  i will admit, though, that i'm not really sure how it actually works.  i took a look at the vb script and generally understand that it takes the "TRUNK" information from the catia file and grows two twigs out of it at 75% of the "TRUNK" length.  but then it becomes fuzzy to me.  how come the two "if" statements both say "if i>0" when creating the two different twigs?  and does it reassign the value of "TRUNK" within the script to each of the newly created twigs in order to keep the process running until "iteration-1" number of times?  how does it keep track of each of these different new "TRUNK" items?

thanks.
s.