algorithmic modeling for Rhino
I would like to create a sine wave that follows a curve, where the frequency of the sine wave can vary at specified points. The variation of frequency can be controlled by user input as only a limited amount of points will be needed.
(right) To the right is a sketch of the desired outcome.
For now, I am only interested in this as a 2d curve to use for a circulation diagram, but it is a nice representation of energy dissapation that could be used in other ways.
(below) This is the definition I'm using for the Sine wave following a specified curve, but cannot figure out how to alter the Amp & Freq at only specified points. (attached)
Tags:
Hello Karl,
wow, what a challange! Have a look at my attempt. Its not perfect yet, because where the 2 frequencies meet, it should blend seamlessly, but I think its a good starting point.
I also used a much simpler (ie. faster) way to calculate the points using just vectors and no planes.
Hope it helps!
Nice - getting closer! Do you mind sharing your .gh file?
I forgot file !
I think I have an error. Not enough check !
Hi Bohmwave,
I've looked at you image, but couldn't figure out what you meant and how to recreate your results. I'm particularly interested in the purple curve... Could you post your grasshopper file? Thanks so much!
see adjacent comment. Purple curve is 1st derivative of green one. it plots the points of green curve's zero-crossing as max-min, and max-min as zero crossings.
http://www.grasshopper3d.com/forum/topics/sine-wave-along-a-curve-a...
Bohmwave,
Perhaps I was, though not consciously. At the time I just needed it as a graphic tool to show intensity of pedestrian traffic. Your solution here looks great though, I am interested in applying this to other form-making processes.
Could you share some more insight for how to create FM Synthesis Waves? A link to the 'wiki' or your definition?
Thank you
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