I didn't add it in the definition, but to create further itinerations
you must 'grow' the rules string using the function: F → F+F-F-F+F
That is, you must replace every "F" character by the "F+F-F-F+F"
string. You can do this using either an expression component using
replace(x,"F","F+F-F-F+F") ' or a scripting component using
string.replace("F","F+F-F-F+F").On Jan 14, 9:08 pm, visose <[email protected]> wrote: > Hi, i did the 'Koch curve' example found in the l-system wikipedia > article: > http://en.wikipedia.org/wiki/L-system > I think it's the easiest example from them all. To reproduce the rest > you just have to add more rules. > Screenshot:http://grasshopper3d.googlegroups.com/web/lsystem.jpg > Definition:http://grasshopper3d.googlegroups.com/web/l-system.ghx > I use a string for the 'rules', so you can just copy/paste them from > wikipedia or other source. > > On Jan 13, 6:19 pm, Mexiko <[email protected]> wrote: > > > Hello, > > > I would like to know something about, > > How to make easy L-systems in Grasshopper? > > > Thank you
