[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 Emara
    Jun 12 '19 at 9:51
  • $\begingroup$ yes, i need a continous spline. $\endgroup$ Jun 12 '19 at 10:53
  • $\begingroup$ Use the Spline From Points node. $\endgroup$
    – Omar Emara
    Jun 12 '19 at 10:57
  • $\begingroup$ ok, then can i use the above method to animate it? $\endgroup$ Jun 13 '19 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 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:

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$ Jun 13 '19 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 Emara
    Jun 13 '19 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$ Jun 13 '19 at 12:29
  • $\begingroup$ and how to make the wire straight before it changes to wave like form $\endgroup$ Jun 13 '19 at 12:50
  • 1
    $\begingroup$ No, u r not harsh, m just dumb, and I won't mind ur comments because m here to learn. $\endgroup$ Jun 14 '19 at 20:30

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.