Mdonovan Posted June 22, 2015 Share Posted June 22, 2015 Hey Guys, I am trying to introduce some variation into my copy stamped l-system plants. I am trying to stamp a variable into the l-system rule .. but it does not seem to work ... copy stamp variable : plant_z = fit(rand($PT),0,1,10,60) example (rule) : X = F - ~( (stamp("./copy1","plant_z",0)) )[[X] + X] + F[F][X] ... doesn't seem to read the variable at all. Any ideas ? Quote Link to comment Share on other sites More sharing options...
SSFX Posted June 22, 2015 Share Posted June 22, 2015 You're only missing one step: backticks. Something like this should work. Also you might want to round the value you're feeding in the expression to integer, otherwise l-system might freak out. F(1,1,3,3,`stamp("./copy1","seed",0)`) Quote Link to comment Share on other sites More sharing options...
Mdonovan Posted June 22, 2015 Author Share Posted June 22, 2015 thanks !!! it was the dang ` !! =) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.