Grasshopper

algorithmic modeling for Rhino

hi

if i have 100 balls and a point

i want the balls who is near the point, have less chance to be deleted(cull)

the far balls have higher chance to be delete(vull)

how can i do this?

Views: 3026

Replies to This Discussion

Check a random value vs. the normalized distance. Cull if random value is larger than distance. That way, the proability of culling will increase with distance. Probability distribution is controlled with a graph component.

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service