Grasshopper

algorithmic modeling for Rhino

Individual random numbers for individual branches

Good evening people,

I am having a truble trying to get individual random numbers for every individual branch. At the moment i am getting these results from random(pic). I get the same 5 random numbers for all my branches, but i want individual randoms for every branch. How is it possible? 

Views: 724

Replies to This Discussion

that's because you are using a single value in the random Seed, you should use a list.

thanks a lot. will check it tommorow

I also sometimes flatten the list of data I'm trying to match, use list length for the random count, and then use "unflatten tree" to map the data back to the data structure I want. 

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service