Grasshopper

algorithmic modeling for Rhino

Axiom:
stem

Rules:
stem = stem node stem S
node = [-grow [+grow leaf] stem [flower]]
leaf = +grow S(Ang:0.5*Pi)+(Ang:0.25*Pi)grow-(Ang:0.5*Pi)grow-(Ang:0.5*Pi)grow-(Ang:0.5*Pi)grow
grow = grow grow
flower = grow S sepal S sepal S sepal S sepal S sepal grow S petal S petal S petal S petal S petal S petal S petal S petal
sepal = [+S(Ang:0.5*Pi)-(Ang:0.2*Pi)grow+(Ang:0.2*Pi)grow+(Ang:0.4*Pi)grow+(Ang:0.35*Pi)grow+(Ang:0.4*Pi)grow+(Ang:0.15*Pi)grow]
petal = [++S(Ang:0.5*Pi)-(Ang:0.3*Pi)growgrow+(Ang:0.3*Pi)growgrow-(Ang:0.3*Pi+Pi)growgrow+(Ang:0.3*Pi)growgrow ]

Views: 361

Comment

You need to be a member of Grasshopper to add comments!

Join Grasshopper

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2019   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service