[Link for the video][1]


this is the link for the video that i have already made but it have cuts

Thanks for your help

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.

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

Node Tree

  • $\begingroup$ ya the animation was similar as required by me, but the spline is in square shape, how to make it circle. $\endgroup$ – Brahmdeep Singh Jun 13 at 12:01
  • $\begingroup$ @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. $\endgroup$ – Omar Ahmad Jun 13 at 12:22
  • $\begingroup$ okay I got the circular shape, one last thing how can I get variable speed, like faster for 2 seconds then slower. $\endgroup$ – Brahmdeep Singh Jun 13 at 12:29
  • $\begingroup$ and how to make the wire straight before it changes to wave like form $\endgroup$ – Brahmdeep Singh Jun 13 at 12:50
  • $\begingroup$ and How to make the end of the spline same as like starting point, so that waves are formed between 2 points. $\endgroup$ – Brahmdeep Singh Jun 13 at 12:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.