On the grasshopper forum I found an explanation for how to make a damped sine wave in grasshopper.
I am trying to reconstruct as per the diagram below, however I am new to grasshopper and I’m having trouble locating the elements in the program. The elements that have icons are easy to find, however I have not been able to locate the ones circled in red on this diagram. Could someone please tell what these elements are in grasshopper? I would really appreciate the help.
Params > Input > Numeric Slider.
Maths > Script > Expression.
In the expresion you have to rename the inputs the same as the variable in the formulas.
The GH file is available for download in the post you linked to:
halflifesin.gh, 10 KB
Also, I’ve used that same reference and code in many forum posts:
I’m not inclined to revisit this topic in depth but a quick scan of some of the code I referred to tells me you’ll be better off skipping the earlier work that depends on Graph Mapper and start with this post that uses an alternative way of generating a damped sine wave from David Rutten:
This post (below) and others that follow it don’t use Graph Mapper so offer the potential of more flexible control but I confess, they aren’t easy to understand:
Beginning in ripples_2019Jun06a.gh and ri…
I’ve done many of these using decay along edges. Basically, measure distance to nearest edge and if it’s less than a certain value, reduce the vertical movement of points the closer they are to the edge.
A quick search returns these though there are many more to be found:
These below use a different method than fading near edges though, as suggested here:
I am trying to add additional points/ripples to this definition that was created a while back by
@Joseph_Oster I am assuming that the points dictate the center of the drop.
Link to his version: https://www.grasshopper3d.com/forum/topic/listForContributor?user=1ikby66i8log6
My version is similar to his I only tried to copy the points meaning the MD sliders and MDp clusters, but why doesn’t this create additional ripples? I have posted the edited definition below in hopes that some…
Thank you so much Dani_Abalde!
Ahhh I see now Joseph, thank you very much for bringing the file to my attention, a huge help!! I’ll spend some time going through these forum posts of yours. Much gratitude to you.