algorithmic modeling for Rhino
An L-system or Lindenmayer system is a parallel rewriting system, namely a variant of a formal grammar (a set of rules and symbols), most famously used to model the growth processes of plant development, but also able to model the morphology of a variety of organisms.
L-systems can also be used to generate self-similar fractals such as iterated function systems. L-systems were introduced and developed in 1968 by the Hungarian theoretical biologist and botanist from the University of Utrecht, Aristid Lindenmayer (1925–1989).
For details and samples, check wikipedia
Koch Curve. Implemented with Grasshopper and RhinoScript.
download koch Curve sample...
Penrose Tiling. Implemented with Grasshopper and RhinoScript.
download Penrose Tiling sample...
Sierpinski Triangle. Implemented with Grasshopper and RhinoScript.
download Sierpinski Triangle sample...
Fractal Plant. Implemented with Grasshopper and RhinoScript.
download Fractal Plant sample...
GH_FractalPlant_LSystem_DynamicAngle.zip
Dragon Curve. Implemented with Grasshopper and RhinoScript.
download Dragon Curve sample...
Comment
Hi Eleni
This wiki page explain the rules: https://en.wikipedia.org/wiki/Dragon_curve
I am trying to turn the dragon curve script to a terdragon and my first idea was to remove RuleY and turn RuleX το RuleF so I made the changes to have :
The result is not the expected though. Any thoughts?
Amazing work thank you for sharing!
that's cool.....thanks.
Rajaa Thanks for sharing this...
Wow, this is so helpful. Thank you so much!!
Hi Nicole,
I posted another example under the fractal tree (above) with dynamic angle control hooked to a slider. That should help.
I'm so glad to see that this post is still active!
I've been experimenting with the fractal plant file, but as a complete Grasshopper n00b I cannot for the life of me figure out how to change the rotation angles for + and -. I notice that the panels "Rotate 25" etc. aren't connected to anything, and that there aren't any 25s in the code, so where could it be?
I'm sure it's totally obvious, but if anybody could help I'd be so thankful! ^^
Hi Nicholas,
I am sure there is probably a way to write an L-System that produces result similar to the one in the photo. I just have not written one and my guess it will take some experimenting to get a new variation of an L-System. Sorry I do not have something offhand to pass.
© 2021 Created by Scott Davidson. Powered by
You need to be a member of Grasshopper to add comments!
Join Grasshopper