Grasshopper

algorithmic modeling for Rhino

Hello,

I've created an attractor that controls a dia-grid and the corresponding pyramid height.
Everything works fine, but the attractor causes a finer grid where its at.

However, my goal is to make the pyramid bases bigger in the circumference of the attractor and smaller the farther they're away from the attractor, until they disappear completely into a smooth surface.

I'd need the contrary of the surface CP container, since I use it to determine the closest points on the surface?

Does it even exist or does anybody know a workaround?

Views: 993

Attachments:

Replies to This Discussion

I think you are after the  "Inverse" of the distance. i.e 1/x or "1 over x"

there is a component in the Maths Tab> Polynomials Panel

It works but the grid now seems to flee from the attractor, which isn't exactly what I want to achieve. 

i'm not sure i understand your problem, but won't changing the graph type in your graph mapper give you the result you want?? i mean instead of a decreasing function, use an increasing one.

Well, yes, I'm aware of the changes that the bezier graph causes, but the effect that the attractor had, when I introduced the x^-1 was too extreme.
I've managed to mitigate it by multiplying the distance by a certain number.

Thanks for your help guys! :)

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