Grasshopper

generative modeling for Rhino

been investigating several attractor deff, but am trying to do the reverse effect of what they all do. that is, have the density around the point and decays with distance.

basically the reverse effect as this : http://designreform.net/2008/06/rhino-patterning-based-on-point-dis...

any ideas on how to accomplish this?

Tags: attractor, reverse

Reply to This

Replies to This Discussion

so this is where i'm at :http://www.grasshopper3d.com/photo/album/show?id=2985220%3AAlbum%3A...

kinda able to keep highlight the area where the pt is located, then decay as the circles get farther from the pt.

seeing if anyone has any alt ideas for making this work w/ a crv AND/OR w/ less fall off decay.

thanks!

Reply to This

can u please share a part of the code where you invert it?

Reply to This

looks like you got it. for a curve just use 'closest pt on curve' to control falloff try a graph mapper.

Reply to This

awesome! got the curve to work now.

but not sure where the graph mapper gets plugged in.
Attachments:

Reply to This

the graph mapper lets you control the falloff. give it a list of numbers between 0 & 1 and it will output numbers between 0 & 1, remapped based on the graph. it's a handy tool.

take a look at the attached def. also, note how I use domain components to get the max/min distance values.
Attachments:

Reply to This

dude, you rock! cheers for the help!

Reply to This

no problem. i just figured this out myself, happy to pass it on.

Reply to This

yeah, posted updates in my album.

Reply to This

RSS

© 2010   Created by Scott Davidson.   Powered by .

Badges  |  Report an Issue  |  Terms of Service