generative modeling for Rhino
have a look here.
1.This image is with the original attractor (repeller) before inverting.
2. Here is the image using remap logic and component, it exactly inverts the original attraction list, which is clear by the image and accurate to the distance logic.
3. Here is the way as you suggest dividing the slider value by the distance list, This inverts the numbers but not proportional to the input list, It also does not maintain its nice gradient.
Here is the definition
yeah sorry about the duplication of question. Thanks!! could you possibly zoom in on the remap part? Just want to know what wires to what.
i attached the file,below the image, download it.
Oh sweet thanks man. It worked! Is there an alternative way to do it?
Remap is just the most elegant way to invert a mapping...
You can do the calculation of what Remap does with native GH math components.
You could use the GraphMapper to apply an inverted function, mapping large input to small output and small input to large out.