# Need this type of sine wave animation without the cuts as like it is a wire. How to make?

[Link for the video  The answer you posted was similar to the required animation by me. But The spline is in square shape, I need a circular one. Can u help me with that.

and also how can we decrease the speed or increase the length of the spline.

• What cuts? Do you want a continuous spline? – Omar Emara Jun 12 '19 at 9:51
• yes, i need a continous spline. – Brahmdeep Singh Jun 12 '19 at 10:53
• Use the Spline From Points node. – Omar Emara Jun 12 '19 at 10:57
• ok, then can i use the above method to animate it? – Brahmdeep Singh Jun 13 '19 at 6:41
• Yes, extract the locations of your matrices and use them as the input vectors of the node. Just like the example in the documentation. – Omar Emara Jun 13 '19 at 7:24

The curve you are trying to create can be described by the following parametric equation:

$$\begin{bmatrix} p\\ \alpha p \sin({\beta t + p}) \end{bmatrix}$$

Where $$\beta$$ and $$\alpha$$ are arbitrary constants, $$t$$ is the time, and $$p$$ is the parameter. We can implement this in Animation Nodes as follows: • ya the animation was similar as required by me, but the spline is in square shape, how to make it circle. – Brahmdeep Singh Jun 13 '19 at 12:01
• @BrahmdeepSingh Increase the value of the Bevel Resolution in the Curve Object Output node to get a circular shape. Change the values of $\beta$, $\alpha$, and the end value of the range node, see what they will produce. – Omar Emara Jun 13 '19 at 12:22
• okay I got the circular shape, one last thing how can I get variable speed, like faster for 2 seconds then slower. – Brahmdeep Singh Jun 13 '19 at 12:29
• and how to make the wire straight before it changes to wave like form – Brahmdeep Singh Jun 13 '19 at 12:50
• No, u r not harsh, m just dumb, and I won't mind ur comments because m here to learn. – Brahmdeep Singh Jun 14 '19 at 20:30