That last shot is really cool. Nice work. -Andy
On Jan 14, 4:34 pm, visose <[email protected]> wrote: > Last definition with color applied to each segment. Unfortunately, the > gradient is not applied depending on the hierarchy of each segment but > on the order that they where > drawn.http://grasshopper3d.googlegroups.com/web/fractalplant_color.jpg > > On Jan 15, 1:14 am, visose <[email protected]> wrote: > > > Here's the example 8 (fractal plant) of the previously mentioned > > wikipedia article. It's actually very simple, not much more complex > > than the previous definition. > > screenshot:http://grasshopper3d.googlegroups.com/web/lsystem_fractalplant.jpg > > definition:http://grasshopper3d.googlegroups.com/web/fractalplant.ghx > > > My programming knowledge is somewhat limited, so the code could > > probably be written much better than this. > > > On Jan 14, 10:37 pm, visose <[email protected]> wrote: > > > > oops sorry, apparently after replacing the string, the + and - > > > characters aren't recognized properly. I replaced them for A and B > > > respectively. I uploaded a new definition that allows you to set the > > > step size with a > > > slider.http://grasshopper3d.googlegroups.com/web/l-system2.ghx > > > > On Jan 14, 10:27 pm, visose <[email protected]> wrote: > > > > > 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
