Grasshopper

algorithmic modeling for Rhino

Hi GH community, 

I'm failing to randomly divide a list of curves differently on each curve. Furthermore, I would like there to be less divisions pertaining to a smaller domain. Scratching my head. 

I think there a number of ways to do this. 

Views: 1858

Attachments:

Replies to This Discussion

You didn't internalize the data for your curves.  It's a little hard to follow your code without them.

The curves have the same random intervals because they use the same seed?  Can you find a way to change that seed value?

Hello Erik,

this could be one way

cheers

alex

Thanks for your replies and sorry for forgetting to internalize! I was in a rush. Anyway, I found a similar approach to your suggestions... Seems like all roads lead to having a list length control the number of seed values. Thank you. 

Attachments:

Alex, 

Now that I have checked your solution, I believe it to be a better approach than I have taken as it uses a series to incrementally control the number of parameters on each curve. I wouldn't have thought of that!

Gracias, 

Erik

Hello Erik,

i used division for the number of parameters on each curve in order to have less parameters for smaller length curves. series comes in play for the random seed.

best

alex

Thanks you Alex. I appreciate your explanation!

Best, 

Erik

I am back with a new variation on this question

I wish to incrementally divide curves based on their length according to graphMapper distributions. The mapper yields a fixed amount of values and the shorter curves will not need as many subdivisions. Scratching my head again. How can I achieve a similar distribution on curves with different lengths? Thanks

Attachments:

i think this could work

best

alex

Hey Erik

Hope this helps.Just create the desired AP, GP, EP(series) or a function, that provides incremental values. Hope this helps.

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service