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.
This comment was deleted
Vongsawat Wongkijjalerd
You can also directly plug in values in to the bottom left Construct Domain to pin-point sine start/end instead as well.
Adjust the Sine wave in your mapper so the Y value is right at the top for the height (/amplitude) slider to become relevant. (or I guess you can eyeball it if it doesn't matter so much) Be careful that the wave is right in the middle as the y values of all the points on the right can become non-zero if its slightly off (in your example its just slightly off-center).
I tried replacing the Graph Mapper with a Sine component to simplify things (just had to change the preceding Remap target domain to '0 to Pi') but for some reason it doesn't look as smooth/nice.. whelp.
Rereading your question, did you also want the points to be equidistant in 2 dimensions, not just on the x-axis?.. in which case Interpolate(IntCrv) the result and Divide Curve to get equidistant points I guess.
Hope this one is a bit easier to digest for you
Nov 22, 2016