Grasshopper

algorithmic modeling for Rhino

Hi guys, what I want to do here is to do a much more "Organic" fractal system.

Currently this 3 lines that will appear on every edge, but I want to try and make it random, meaning maybe gen1, only A + B will be used. C will be left out and "Die"?

Gen 2, B + C of the previous generation will be used. And A will be left out.

So basically I do not want it to be systematic, geometry generated at every edge. I want to randomize the appearance.

How do i achieve this?

I think it has something got to do with Random, set with a domain that has 3 numbers, selected numbers will be given a false, allowing the rest to be fed back to hoopsnake.

Views: 1889

Replies to This Discussion

If you do not share the definition is difficult to help.
Indeed, it can be done with random, giving three values ​​of 0 and 1, for the dispatch component. To each generation is different, you have to vary the seed, somehow connect with a changing value of hoopsnake.

Sorry bout that. So... I have to use Random, paired with Equality right? And for the seed, I can use the "I" values of Hoopsnake, that will +1 for every step.

Im just not too sure how to set up Random and where to insert it.

Added the .gh file

Attachments:

Enjoy ;)

Attachments:

Appreciate it! Will take a look.

So far looks complex haha.

I'm trying to understand it now...

Cheers!

After a while trying to understand it, I think i got it haha. Thanks for the great help!

Learnt how to randomly split a list into 2 using random + Int.

One last question, I am looking at the Dispatch component. What if I wish to orient a different geometry onto list B (filtered data) and cumulate it after afew iterations of hoopsnake just like those in List A? I managed to orient a geometry using the points from list B, but it only applies to the latest iteration as it does not go thru hoopsnake to the Cumulative feedpack output.

Do I need to feed it back to the same Hoopsnake? I cant figure out how to do it.

And possibly, I can add another variation of lines, or a different geometry (spheres)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service