algorithmic modeling for Rhino
Hello everyone!
Im currently trying to generate a sine wave with graph mapper, but with the addition of having planar points to both the side of this wave.
So the goal would be to:
-Move the Sine wave around this domain
-Maintain always the same separation between points
-Change the domain extension of the sine wave, being the maximum length the entire original domain set.
I have been trying with consecutive domains component, but Im not sure its the answer, the sliders are pretty loose and the separation between points is not always the same.
Tags:
Hey! Thank you so much for the nice definition and explanation.This is actually a great idea to achieve this kind of control. I wonder, is there a way to make to so the slider that controls position, when at 0, makes the curve start from there?
This is what I get, as the slider controls the crest position.
This would be ideal. I thought that its a matter of subtracting or adding half a wavelength to the slider, but how do I get the weavelegth of the curve?
woops, forgot to reply last time.
not quite sure what you're asking for..
If its just to find the position where the wave starts at 0, just have the 'pos' slider equal to whatever you set 'width' to.
If you want the wave to compress as it nears the boundaries of the domain, check out the attached.
Either way, if you want to play around with it, I direct your gaze towards the bottom-left 'Construct Domain' component. the A and B inputs are basically the start/stop of the wave, so fiddling with the wave begins there.
(also, just to be clear, my definition solves everything through remapping domains, rather than sine equations)
1) halve the width. pos is the center of a wave, to reach the edge you only travel half the width ya
2) do you just want pos to be the start of the wave? like I keep saying, best bet is to mess with domain. check attached (I only did it for the green group)
Alright, so the min of the slider should be width/2 and the max should 1-width/2. Thats was it.
Thanks for the quick reply. You have been really helpful. I will now stop bothering ya.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by