Grasshopper

algorithmic modeling for Rhino

Hi everyone, i want to know how to pick some random points on this surface. I tried to do it but it keeps picking the same point on each row of points. thanks :)

Views: 2959

Replies to This Discussion

Hello

you points are organized in tree structure (collection of lists, each branch containing a row of points), you need to flatten the point output and have all the points in one list and then select randomly amongst them

cheers

alex

Or if you want to keep your points in separate lists, you need to provide different seed values for the random selection. Every seed value generates the same random sequence, so if you keep on re-using the same seed, the random behaviour will be the same each time.

I can't believe it was that easy... thanks a lot! :)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service