Doubt in spline Creation

It seems you are looking for a damped sine wave. I’ve implemented the respective formula in the following fiddle:

https://jsfiddle.net/p293y7ue/5/

I’m just using sin instead of cos so the curve starts at the origin.

4 Likes