title: Plotting 3D GIF in R
body: <p>I was working with 3 vectors <code>x</code> , <code>y</code> , <code>z</code> , each of length N (Assume N to be some large natural number, say 20000). In order to visualize this, I was able to plot this easily using the following R code :</p>
  <pre><code>library(&quot;plot3D&quot;)
  lines3D(x, y, z, type = &quot;l&quot;)
  </code></pre>
  <p>Now, I was thinking if we can make a little 3D animation (i.e. a 3D GIF) from the vectors <code>x</code> , <code>y</code> , <code>z</code>. Is it possible in R ?</p>
  <hr />
  <p><strong>NOTE :</strong> I've previously done 2D GIFs in R, with the help of packages like <code>ggplot2</code> , <code>gganimate</code> , <code>magick</code> etc. However, I'm curious whether the same thing can be done for 3D data. Thanks in advance.</p>