# Animations in books

**URL:** <https://discourse.julialang.org/t/animations-in-books/86137>\
**Category:** Visualization\
**Tags:** book, animations\
**Created:** [August 22, 2022, 1:55pm UTC](https://discourse.julialang.org/t/animations-in-books/86137 "2022-08-22T13:55:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcmwright](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mcmwright/32/27987_2.png) [@mcmwright](https://discourse.julialang.org/u/mcmwright)\
**Post date:** [August 22, 2022, 1:55pm UTC](https://discourse.julialang.org/t/animations-in-books/86137/1 "2022-08-22T13:55:34Z")

</div>

I teach acoustics and vibration, and I use a lot of Python animations in Jupyter notebooks with my students. It’s useful for them to be able to step back and forth through the animation a frame at a time within the notebook.

I’d like to develop these notebooks into an online book, and I’ve been looking into JupyterBook. But I’d also like to use Julia for the book (I’m restricted to Python for the day-to-day teaching, for now at least).

Is there a Julia animation tool that can provide stepping controls within the notebook/book? Would the choice of JupyterBook, Book.jl, Franklin.jl or another platform to build the book make a difference?

Thanks

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [August 22, 2022, 3:24pm UTC](https://discourse.julialang.org/t/animations-in-books/86137/2 "2022-08-22T15:24:35Z")

</div>

Ah, so you are the M. Wright of Lecture Notes on the Mathematics of Acoustics. I love that book!

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [August 22, 2022, 6:15pm UTC](https://discourse.julialang.org/t/animations-in-books/86137/3 "2022-08-22T18:15:31Z")

</div>

Quarto ([https://quarto.org/](https://quarto.org/)) seems to get some positive reviews lately, it’s meant to be used with Python and Julia at the same time which could simplify things for you.

About the animations, would it be enough to render a video file and then embed that? You can drag forward and backward with normal video controls but it’s not a step-one-frame kind of UI. But it would be supported by basically any visualization tool.

---

<div class="post-metadata">

**Author:** ![zdenek\_hurak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zdenek_hurak/32/53118_2.png) [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)\
**Post date:** [August 22, 2022, 6:30pm UTC](https://discourse.julialang.org/t/animations-in-books/86137/4 "2022-08-22T18:30:06Z")

</div>

Talking about animations, I can only share the info about the existence of [Javis.jl](https://juliaanimators.github.io/Javis.jl/stable/). I cannot give much more, I have no experience with it. The authors also gave a talk at JuliaCon 2021: [Javis.jl - Julia Animations and Visualizations | Jacob Zelko, Ole Kröger | JuliaCon2021 - YouTube](https://youtu.be/ckvsc6ukdOc).

---

<div class="post-metadata">

**Author:** ![Jake](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jake/32/46007_2.png) [@Jake](https://discourse.julialang.org/u/Jake)\
**Post date:** [August 22, 2022, 7:28pm UTC](https://discourse.julialang.org/t/animations-in-books/86137/5 "2022-08-22T19:28:19Z")

</div>

Not Julia so not very satisfying in this context, but there is an open source animation program developed by University of Cincinnati students that is written in Matlab and last time I checked was hosted by [Abravibe](https://abravibe.com/) and also discussed on [Matlab Central](https://www.mathworks.com/matlabcentral/fileexchange/68508-abravibe-noise-and-vibration-analysis-toolbox). It is used to animate operating deflection shapes and modal analysis results. It will create gif files that can be used for documentation.

It would be nice to see the equivalent in Julia.

---

<div class="post-metadata">

**Author:** ![mcmwright](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mcmwright/32/27987_2.png) [@mcmwright](https://discourse.julialang.org/u/mcmwright)\
**Post date:** [August 25, 2022, 10:48am UTC](https://discourse.julialang.org/t/animations-in-books/86137/6 "2022-08-25T10:48:06Z")

</div>

I am, glad you like it, the one I’m planning here (if it ever happens) will be very different though.
