My Animations

I am working out all the component parts of creating animations using Plots. My next target is the --> arrow. What does this do?

Please see Recycling for an explanation of the use of circshift.


                using Plots

                @userplot LinePlot
                @recipe function f(cp::LinePlot)
                    x, y, i = cp.args
                    n = length(x)
                    inds = circshift(1:n, 1 - i)
                    linewidth --> range(0, 10, length = n)
                    seriesalpha --> range(0, 1, length = n)
                    aspect_ratio --> 1
                    label --> false
                    x[inds], y[inds]
                end
                
                n = 150
                t = range(0, 2pi, length = n)
                x = t
                y = t
                
                anim = @animate for i in 1:n
                    lineplot(x, y, i)
                end
                gif(anim, "images/lineplot_fps15.gif", fps = 15)