using Plots
pyplot()
function roll(k₁, k₂, k₃)
x = append!(append!([(3i,3i) for i=30:-1:0],[(3i,0) for i=0:30]),
[(90,3i) for i=0:30])
@gif for (i,j) in x
plot(
θ->cos(k₁*θ),θ->sin(k₂*θ),θ->sin(k₃*θ),0,2π,
xlims=(-1,1), ylims=(-1,1),zlims=(-1,1), leg=false,
camera=(i,j)
)
end
end
roll (generic function with 1 method)
roll(5,6,7)
INFO: Saved animation to /mnt/juliabox/tmp.gif