And in case you don’t use Plots.
using UnicodePlots
xs = range(0, 7; length=40)
fac = 0.1
animate(; nframes=100, fps=20) do i
return lineplot(xs, sin.(xs .- fac * i); ylim=(-1,1))
end
And in case you don’t use Plots.
using UnicodePlots
xs = range(0, 7; length=40)
fac = 0.1
animate(; nframes=100, fps=20) do i
return lineplot(xs, sin.(xs .- fac * i); ylim=(-1,1))
end