# Animation with timeline and play/pause

**URL:** <https://discourse.julialang.org/t/animation-with-timeline-and-play-pause/24575>\
**Category:** Visualization\
**Tags:** question, plotting\
**Created:** [May 24, 2019, 3:30pm UTC](https://discourse.julialang.org/t/animation-with-timeline-and-play-pause/24575 "2019-05-24T15:30:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seanny123](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/seanny123/32/5271_2.png) [@Seanny123](https://discourse.julialang.org/u/Seanny123)\
**Post date:** [May 24, 2019, 3:30pm UTC](https://discourse.julialang.org/t/animation-with-timeline-and-play-pause/24575/1 "2019-05-24T15:30:21Z")

</div>

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](https://codereview.stackexchange.com/q/155905/39441). Is there some established way of doing this in Julia? I know you can [create animations with Plot.jl](https://docs.juliaplots.org/latest/animations/), but what if you wanted to create a widget for controlling the animation frames?

---

<div class="post-metadata">

**Author:** ![johnh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johnh/32/3615_2.png) [@johnh](https://discourse.julialang.org/u/johnh)\
**Post date:** [May 25, 2019, 6:10am UTC](https://discourse.julialang.org/t/animation-with-timeline-and-play-pause/24575/2 "2019-05-25T06:10:11Z")

</div>

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/](http://makie.juliaplots.org/stable/)

---

<div class="post-metadata">

**Author:** ![yakir12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yakir12/32/297_2.png) [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Post date:** [May 25, 2019, 6:30am UTC](https://discourse.julialang.org/t/animation-with-timeline-and-play-pause/24575/3 "2019-05-25T06:30:21Z")

</div>

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!
