Grasshopper

algorithmic modeling for Rhino

Hello everyone!

Here is my problem. 

I have a parametric input of 2 number, equally divided it in a range, say my two inputs are 100 and 200, in 4 divisions. i end up with : 100, 125, 150, 175, 200  

Then I want to map it to a sinusoidal distribution curve without disturbing the boundaries. Right now I have to open the graph mapper type 100 and 200 for X, Y inputs

Is it possible to have a parametric input to graph mapper bounds X0, X1, Y0 , Y1 ? .

Because I need to put graph mapper inside a cluster.

Best

Shahrokh

Views: 4554

Replies to This Discussion

Hi Shahrokh,

One way of doing this would be to remap the numbers from the bounds of the list to 0 to 1. Then, after modifying the numbers with the graph mapper, you can remap them back do the original domain

Cool trick !

This way the graph mapper always stays from 0 to 1 :-) 

thank you very much Mire! 

Best

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service