Animation with timeline and play/pause

Often, I want to watch a visual system over time with the same basic controls as a video. Specifically:

  • Play/Pause
  • Drag around on a timeline

Encoding a basic SVG animation is often overkill, so in Python, I awkwardly built something on top of Matplotlib. Is there some established way of doing this in Julia? I know you can create animations with Plot.jl, but what if you wanted to create a widget for controlling the animation frames?

3 Likes

Hi @Seanny123 An expert will be along in a bit.
I would look at Makie - I can’t say for certain though that it will do what you need.
http://makie.juliaplots.org/stable/

I often connect the index or time variable to an observable (Node) in Makie and use a slider to control the animation. Works like a charm!