Hi everyone,
I’m new to Grasshopper and I’m trying to simulate wind vectors moving from left to right across a defined area (a box I’ve drawn). I already have a basic script generating the vectors, but I’m struggling with how to make them interact with the silhouette of my building.
Ideally, I want the vectors to “hit” or respond to the building form rather than just pass straight through it. I was wondering if this could be done using points across the surface or another method, but I’m not sure how to approach it.
I’d also like to control the vector display so that they vary in thickness—starting thinner on the left and becoming thicker toward the right—to help visually indicate direction.
So my main questions are:
-
How can I get the vectors to interact with or respond to my building geometry?
-
What’s the best way to control vector thickness/scale across a direction?
-
How can I constrain the vectors so they stay within a defined boundary (my box)?
Any guidance or suggestions would be really appreciated!
Thanks in advance! I have attached my file here.
WIND VECTORS.gh (14.8 KB)
wind vectors.3dm (167.5 KB)

