Grasshopper

algorithmic modeling for Rhino

Hi

I am trying to create a grid of circles and I want the radius to change depending on the distance to a point. So I want the circle closest to the point to have the biggest radius and then gradually get smaller as it gets farther away from that point. I got pretty close, but I cant figure out how to assign the largest number to the center circle instead of the top one as it does by default.

Any help is appreciated!

Thanks!

 

 

Views: 2578

Replies to This Discussion

1. messured List: 1, 3, 4, 4.5, 5.1, 7, 8

2. take highest number plus 1 (=9)

3. messured List minus 9

4. new List: -8, -6, -5, -4.5, -3.9, -2, -1

5. take the absolute component

finished

Best Regards

DeDackel

Hi DeDackel, thanks for your reply!

I've tried your suggestion, but to me it seems that your solution will kind of turn the list upside down (not exactly but close to reverse it). What I want to achieve is to apply the biggest radius to the circle closest to my reference point, which will be the point in the center of the cluster. That point will be in the middle of my list somewhere.

remap values i.e. from "0 to 1" to "1 to 0"

Thanks Mateusz! That was exactly the button i was looking for.. i didn't know about it. It solved my problem :)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service